ViewArgument
@iota/grpc / ViewArgument
Type Alias: ViewArgument
ViewArgument =
boolean|number|bigint|string| readonlyViewArgument[] | {[key:string]:ViewArgument; }
Defined in: sdk/grpc/src/requests.ts:40
A call argument as JSON, for the node to encode against the parameter's Move type. Numbers go
over the wire as strings, so pass a bigint for an integer a number cannot hold exactly. An
Option<T> goes as [] or [value].