Skip to content
Alchemy Logo

unsafe_splitCoin

POST
/{apiKey}
CUs20
Deprecation notice

Action required: Support for Sui JSON-RPC will end on September 25, 2026. Please migrate to Sui gRPC before then to avoid disruption. You can find our migration guide here.

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-demo

For 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?