unsafe_pay
POST
/{apiKey}
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
apiKeystringrequireddefaults to docs-demoFor higher throughput, create your own API key
Request
signerstringrequiredThe transaction signer's Sui address.
input_coinsstring[]requiredList of Coin<T> object IDs to use for sending value.
recipientsstring[]requiredThe recipient addresses. Must have the same length as amounts.
amountsstring[]requiredThe amounts to transfer to each recipient, in the same order.
gasstringoptionalObject ID of the gas coin to use. Must not be in input_coins.
gas_budgetstringrequiredThe gas budget for the transaction.
Responses
200
Unsigned transaction for sending Coin<T>.
Was this page helpful?