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

apiKeystringRequired

Request

This endpoint expects an object.
signerstringRequired
The transaction signer's Sui address.
staked_suistringRequired
StakedSui object ID.
gasstringRequired

Gas object to be used in this transaction. If not provided, one will be auto-selected by the node.

gas_budgetstringRequired
The gas budget for the transaction. The transaction will fail if the gas cost exceeds this value.

Response

The unsigned transaction to withdraw stake.
txBytesstring or null

Base64-encoded BCS transaction bytes.

gaslist of objects or null
The gas object used in the transaction.
inputObjectslist of objects or null
List of input objects involved in the transaction.