unsafe_splitCoin
Creates a transaction that splits a coin into multiple coins with specific amounts. This is useful for dividing SUI coins before transferring or staking.
Path parameters
apiKey
Request
This endpoint expects an object.
signer
The transaction signer’s Sui address.
coin_object_id
The coin object to be split.
split_amounts
The amounts to split out from the coin.
gas
The gas object to be used in this transaction. If not specified, the node selects one automatically.
gas_budget
The gas budget. The transaction fails if the cost exceeds this amount.
Response
The unsigned transaction bytes and input objects.
txBytes
BCS serialized transaction data bytes, base64 encoded.
gas
inputObjects