Skip to main content

ViewFunctionCall

@iota/grpc


@iota/grpc / ViewFunctionCall

Type Alias: ViewFunctionCall

ViewFunctionCall = object

Defined in: sdk/grpc/src/requests.ts:48

Properties​

args?​

optional args?: readonly (ViewArgument | Uint8Array)[]

Defined in: sdk/grpc/src/requests.ts:54

In declaration order. A Uint8Array goes as BCS the caller encoded, anything else as JSON.


fqFunctionName​

fqFunctionName: string

Defined in: sdk/grpc/src/requests.ts:50

<package>::<module>::<function>. The function must be declared #[view].


typeArgs?​

optional typeArgs?: readonly string[]

Defined in: sdk/grpc/src/requests.ts:52

Type arguments such as 0x2::iota::IOTA or vector<u8>, in declaration order.