Skip to main content

ViewParams

@iota/iota-sdk


@iota/iota-sdk / client / ViewParams

Interface: ViewParams

Defined in: sdk/typescript/src/client/types/params.ts:213

Calls a Move view function. The function must be declared with the #[view] attribute.

Properties​

arguments​

arguments: unknown[]

Defined in: sdk/typescript/src/client/types/params.ts:220


functionName​

functionName: string

Defined in: sdk/typescript/src/client/types/params.ts:218

The fully qualified function name <package_id>::<module_name>::<function_name>, where the function is declared with the #[view] attribute. E.g. 0x1234::counter::value.


signal?​

optional signal?: AbortSignal

Defined in: sdk/typescript/src/client/types/params.ts:221


typeArgs?​

optional typeArgs?: string[] | null

Defined in: sdk/typescript/src/client/types/params.ts:219