unsafe_splitCoinEqual
Transaction Builder API: Create an unsigned transaction to split a coin object into multiple equal-size coins.
Parameters
signer
:<SuiAddress>
- the transaction signer's Sui addresscoin_object_id
:<ObjectID>
- the coin object to be spiltsplit_count
:<BigInt_for_uint64>
- the number of coins to split intogas
:<ObjectID>
- gas object to be used in this transaction, node will pick one from the signer's possession if not providedgas_budget
:<BigInt_for_uint64>
- the gas budget, the transaction will fail if the gas cost exceed the budget
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_splitCoinEqual
Request
Result
Last updated