Withdraw from a deactivated delegation

Returns the withdrawal transaction that should be signed and broadcasted on the client. The transaction will immediately withdraw the SOL from a deactivated stake account into the toPubkey account (defaults to the stake authority).

Body Params

Provide the stakeAccountPubkey to withdraw from. The fromPubkey is the account that should sign the transaction, it will default to the provided stakeAuthority. The amountToWithdraw is optional, if not provided, the entire inactive stake will be withdrawn. The toPubkey is optional, if not provided, the SOL will be returned to the stakeAuthority.

Provide the stakeAccountPubkey to withdraw from. The fromPubkey is the account that should sign the transaction, it will default to the provided stakeAuthority. The amountToWithdraw is optional, if not provided, the entire inactive stake will be withdrawn. The toPubkey is optional, if not provided, the SOL will be returned to the stakeAuthority.

string
required
string
required
string
string
^[1-9]\d*$
string
string
required

Message associated with the customer using the API/SDK. Is used to identify delegations from a given customer.

Responses

Language
Credentials
Header
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json