Skip to main content

UnsafeMoveCallParams

@iota/iota-sdk


@iota/iota-sdk / client / UnsafeMoveCallParams

Interface: UnsafeMoveCallParams

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

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:556

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:568

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:549

the move function name, e.g. split


gas?

optional gas?: string | null

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

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:563

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:547

the Move module name, e.g. pay


packageObjectId

packageObjectId: string

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

the Move package ID, e.g. 0x2


signal?

optional signal?: AbortSignal

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


signer

signer: string

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

the transaction signer's IOTA address


typeArguments

typeArguments: string[]

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

the type arguments of the Move function