unsafe_splitCoin
POST
/{apiKey}
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
stringrequireddefaults to
docs-demoFor higher throughput, create your own API key
Request
stringrequired
The transaction signer's Sui address.
stringrequired
The coin object to be split.
string[]required
The amounts to split out from the coin.
stringrequired
The gas object to be used in this transaction. If not specified, the node selects one automatically.
stringrequired
The gas budget. The transaction fails if the cost exceeds this amount.
Responses
200
The unsigned transaction bytes and input objects.
Was this page helpful?