unsafe_requestAddStake
Creates an unsigned transaction to stake SUI by selecting one or more SUI coins, specifying the amount, and choosing a validator’s address. This operation deposits the funds into the validator’s staking pool. Gas must be paid with a separate coin.
⚠ This endpoint is only available with Blast access.
Path parameters
apiKey
Request
This endpoint expects an object.
signer
The address of the transaction signer.
coins
A list of Coin<SUI> object IDs to be used for staking.
amount
The amount to stake (in SUI base units).
validator
The address of the validator to which the stake is delegated.
gas_budget
Maximum gas budget for the transaction.
gas
The object ID of the gas coin to be used. If not provided, one will be auto-selected.
Response
The unsigned transaction for adding stake.
txBytes
The unsigned transaction encoded in base64.
gas
The gas object to be used.
inputObjects
List of objects required as inputs (e.g., stake coin, Move modules).