POSTunsafe_paySui
https://sui-mainnet.nodit.io/Send SUI coins to a list of addresses, following a list of amounts. This is for SUI coin only and does not require a separate gas coin object. Specifically, what pay_sui does are:
- debit each input_coin to create new coin following the order of amounts and assign it to the corresponding recipient.
- accumulate all residual SUI from input coins left and deposit all SUI to the first input coin, then use the first input coin as the gas coin object.
- the balance of the first input coin after tx is sum(input_coins) - sum(amounts) - actual_gas_cost
- all other input coints other than the first one are deleted.
Hex string encoding.
The Sui coins to be used in this transaction, including the coin for gas payment.
The Sui coins to be used in this transaction, including the coin for gas payment.
The Sui coins to be used in this transaction, including the coin for gas payment.
Hex string encoding.
the gas objects to be used
Base64 string representing the object digest
Hex code as string representing the object id
Object version.
objects to be used in this transaction
Hex string encoding.
Base64 string representing the object digest
Hex code as string representing the object id
Object version.
Hex string encoding.
BCS serialized transaction data bytes without its type tag, as base-64 encoded string.