Skip to content
Alchemy Logo

unsafe_requestWithdrawStake

POST
/{apiKey}

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.

Path Parameters

stringrequireddefaults to docs-demo

For higher throughput, create your own API key

Request

stringrequired

The transaction signer's Sui address.

stringrequired

StakedSui object ID.

stringrequired

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

stringrequired

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

Responses

200

The unsigned transaction to withdraw stake.

Was this page helpful?