Interface: UnsafeMoveCallParams
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
signer
signer:
string
the transaction signer's IOTA address
packageObjectId
packageObjectId:
string
the Move package ID, e.g. 0x2
module
module:
string
the Move module name, e.g. pay
function
function:
string
the move function name, e.g. split
typeArguments
typeArguments:
string[]
the type arguments of the Move function
arguments
arguments:
unknown[]
the arguments to be passed into the Move function, in IotaJson format
gas?
optionalgas:null|string
gas object to be used in this transaction, node will pick one from the signer's possession if not provided
gasBudget
gasBudget:
string
the gas budget, the transaction will fail if the gas cost exceed the budget
executionMode?
optionalexecutionMode:null|IotaTransactionBlockBuilderMode
Whether this is a Normal transaction or a Dev Inspect Transaction. Default to be
IotaTransactionBlockBuilderMode::Commit when it's None.