Skip to main content

UnsafeMoveCallParams

@iota/iota-sdk


@iota/iota-sdk / client / UnsafeMoveCallParams

Interface: UnsafeMoveCallParams

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

Create an unsigned transaction to execute a Move call on the network, by calling the specified function in the module of a given package.

Properties​

arguments​

arguments: unknown[]

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

the arguments to be passed into the Move function, in IotaJson format


executionMode?​

optional executionMode?: IotaTransactionBlockBuilderMode | null

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

Whether this is a Normal transaction or a Dev Inspect Transaction. Default to be IotaTransactionBlockBuilderMode::Commit when it's None.


function​

function: string

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

the move function name, e.g. split


gas?​

optional gas?: string | null

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

gas object to be used in this transaction, node will pick one from the signer's possession if not provided


gasBudget​

gasBudget: string

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

the gas budget, the transaction will fail if the gas cost exceed the budget


module​

module: string

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

the Move module name, e.g. pay


packageObjectId​

packageObjectId: string

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

the Move package ID, e.g. 0x2


signal?​

optional signal?: AbortSignal

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


signer​

signer: string

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

the transaction signer's IOTA address


typeArguments​

typeArguments: string[]

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

the type arguments of the Move function