Skip to main content

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

PropertyTypeDescription
signerstringthe transaction signer's IOTA address
packageObjectIdstringthe Move package ID, e.g. 0x2
modulestringthe Move module name, e.g. pay
functionstringthe move function name, e.g. split
typeArgumentsstring[]the type arguments of the Move function
argumentsunknown[]the arguments to be passed into the Move function, in IotaJson format
gas?string | nullgas object to be used in this transaction, node will pick one from the signer's possession if not provided
gasBudgetstringthe gas budget, the transaction will fail if the gas cost exceed the budget
executionMode?| IotaTransactionBlockBuilderMode | nullWhether this is a Normal transaction or a Dev Inspect Transaction. Default to be IotaTransactionBlockBuilderMode::Commit when it's None.
signal?AbortSignal-