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.

⚠ This endpoint is only available with Blast access.

Path parameters

apiKeystringRequired

Request

This endpoint expects an object.
signerstringRequired
The transaction signer's Sui address.
coin_object_idstringRequired
The coin object to be split.
split_amountslist of stringsRequired
The amounts to split out from the coin.
gasstringRequired
The gas object to be used in this transaction. If not specified, the node selects one automatically.
gas_budgetstringRequired
The gas budget. The transaction fails if the cost exceeds this amount.

Response

The unsigned transaction bytes and input objects.
txBytesstring or null
BCS serialized transaction data bytes, base64 encoded.
gaslist of objects or null
inputObjectslist of objects or null