unsafe_pay
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
docs-demoFor higher throughput, create your own API key
Request
The transaction signer's Sui address.
List of Coin<T> object IDs to use for sending value.
The recipient addresses. Must have the same length as amounts.
The amounts to transfer to each recipient, in the same order.
Object ID of the gas coin to use. Must not be in input_coins.
The gas budget for the transaction.
Responses
200
Unsigned transaction for sending Coin<T>.