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
apiKeystringrequireddefaults to docs-demoFor higher throughput, create your own API key
Request
signerstringrequiredThe transaction signer's Sui address.
coin_object_idstringrequiredThe coin object to be split.
split_amountsstring[]requiredThe amounts to split out from the coin.
gasstringrequiredThe gas object to be used in this transaction. If not specified, the node selects one automatically.
gas_budgetstringrequiredThe gas budget. The transaction fails if the cost exceeds this amount.
Responses
200
The unsigned transaction bytes and input objects.
Was this page helpful?