unsafe_transferSui
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 address
object_id< ObjectID > - The Sui coin object to be used in this transaction
gas_budget< BigInt_for_uint64 > - The gas budget, the transaction will fail if the gas cost exceed the budget
recipient< SuiAddress > - The recipient's Sui address
amount< BigInt_for_uint64 > - The amount to be split out and transferred
Returns:
TransactionBlockBytes< TransactionBlockBytes >
Example:
Last updated