unsafe_moveCall
Transaction Builder API: Create an unsigned transaction to execute a Move call on the network, by calling the specified function in the module of a given package.
Parameters
signer
:<SuiAddress>
- the transaction signer's Sui addresspackage_object_id
:<ObjectID>
- the Move package ID, e.g. `0x2`module
:<string>
- the Move module name, e.g. `devnet_nft`function
:<string>
- the move function name, e.g. `mint`type_arguments
:<[TypeTag]>
- the type arguments of the Move functionarguments
:<[SuiJsonValue]>
- the arguments to be passed into the Move function, in <a href="https://docs.sui.io/build/sui-json">SuiJson</a> formatgas
:<ObjectID>
- gas object to be used in this transaction, node will pick one from the signer's possession if not providedgas_budget
:<uint64>
- the gas budget, the transaction will fail if the gas cost exceed the budgetexecution_mode
:<SuiTransactionBuilderMode>
- Whether this is a Normal transaction or a Dev Inspect Transaction. Default to be `SuiTransactionBuilderMode::Commit` when it's None.
Returns
TransactionBytes
:<TransactionBytes>
gas :
<[ObjectRef]>
- the gas object to be usedinputObjects :
<[InputObjectKind]>
- objects to be used in this transactiontxBytes :
<[Base64]>
- BCS serialized transaction data bytes without its type tag, as base-64 encoded string.
Example Request and Result for unsafe_moveCall
Request
Last updated