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 stake SUI to a validator.Positional parameters for
unsafe_requestAddStake:params[0]: The Sui address of the transaction signer.params[1]: List of Coin<SUI> object IDs to be staked.params[2]: Amount to stake. If omitted, the full balance of all coins will be used.params[3]: The validator’s Sui address.params[4]: Optional gas object ID. If not provided, a gas object will be auto-selected.params[5]: Gas budget for the transaction.
Returns
The unsigned transaction block for the stake operation.