unsafe_transferSui
Transaction Builder API: Create an unsigned transaction to send SUI coin object to a Sui address. The SUI object is also used as the gas object.
Parameters
signer
:<SuiAddress>
- the transaction signer's Sui addresssui_object_id
:<ObjectID>
- the Sui coin object to be used in this transactiongas_budget
:<BigInt_for_uint64>
- the gas budget, the transaction will fail if the gas cost exceed the budgetrecipient
:<SuiAddress>
- the recipient's Sui addressamount
:<BigInt_for_uint64>
- the amount to be split out and transferred
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_transferSui
Request
Result
Last updated