unsafe_pay
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
apiKey
Request
This endpoint expects an object.
signer
The transaction signer's Sui address.
input_coins
List of Coin<T> object IDs to use for sending value.
recipients
The recipient addresses. Must have the same length as amounts.
amounts
The amounts to transfer to each recipient, in the same order.
gas_budget
The gas budget for the transaction.
gas
Object ID of the gas coin to use. Must not be in input_coins.
Response
Unsigned transaction for sending Coin<T>.
txBytes
Base64-encoded BCS serialized transaction bytes.
gas
Gas object(s) selected for the transaction.
inputObjects
All objects involved in this transaction (coins, gas, etc.).