Post Withdrawal Intent

Network

string
required
The target Solana network (allowed 'mainnet' or 'testnet').

Amount
int64
required
The amount of funds you want to withdraw (in Lamports).

Delegator Address
string
required
^[1-9A-HJ-NP-Za-km-z]{43,44}$
Wallet that will pay the transaction fee.

Stake Account Pubkey
string
required
^[1-9A-HJ-NP-Za-km-z]{43,44}$
The address of the stake account.

Response Codes

200

OK

400

Invalid request.

401

Header 'X-API-Key' missing.

500

Internal server error.


Example cURL Request

curl --request POST \
     --url https://svc.blockdaemon.com/sia/v2/solana/network/withdrawal-intent \
     --header 'accept: application/json' \
     --header 'content-type: application/json'

Choose an Example: