Skip to content
Alchemy Logo

unsafe_pay

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.

Create an unsigned transaction to send Coin<T> to a list of recipients, where T can be any coin type. The specified gas object must not appear in the input_coins array. If not provided, the node will select one automatically.

Path Parameters

stringrequireddefaults to docs-demo

For higher throughput, create your own API key

Request

stringrequired

The transaction signer's Sui address.

string[]required

List of Coin<T> object IDs to use for sending value.

string[]required

The recipient addresses. Must have the same length as amounts.

string[]required

The amounts to transfer to each recipient, in the same order.

stringoptional

Object ID of the gas coin to use. Must not be in input_coins.

stringrequired

The gas budget for the transaction.

Responses

200

Unsigned transaction for sending Coin<T>.

Was this page helpful?