Parameters
Unique identifier for a blockchain network.
Request identifier used to match responses.
JSON-RPC version.
JSON-RPC method name.
Create an unsigned transaction to send all SUI coins to a recipient.Positional parameters for
unsafe_payAllSui:params[0]: The Sui address of the transaction signer.params[1]: List of SUI coin object IDs to be used, including the gas coin.params[2]: The recipient’s Sui address.params[3]: The gas budget for the transaction.
Returns
Unsigned transaction block for sending all SUI coins to a recipient.