unsafe_requestWithdrawStake
Creates an unsigned transaction that requests withdrawal of a staked SUI object from a validator’s staking pool. The gas coin must not be part of the staked assets.
⚠ This endpoint is only available with Blast access.
Path parameters
apiKey
Request
This endpoint expects an object.
signer
The transaction signer's Sui address.
staked_sui
StakedSui object ID.
gas
Gas object to be used in this transaction. If not provided, one will be auto-selected by the node.
gas_budget
The gas budget for the transaction. The transaction will fail if the gas cost exceeds this value.
Response
The unsigned transaction to withdraw stake.
txBytes
Base64-encoded BCS transaction bytes.
gas
The gas object used in the transaction.
inputObjects
List of input objects involved in the transaction.