Solana
Post Withdrawal Intent
Changed onThis endpoint is used to request withdrawal transactions that will be executed against available deactivated accounts. If you request more funds than are currently unlocked, the API will return an error indicating the maximum possible withdrawal.
You will receive at least one unsigned transaction (potentially multiple) that needs to be signed in order to complete the withdrawal.
post/v1/solana/{network}/withdrawal-intents
Request
- Base URLhttps://svc.blockdaemon.com/boss
- URLhttps://svc.blockdaemon.com/boss/v1/solana/{network}/withdrawal-intents
- AuthAPI key in header X-API-KEY
Request body
Example request
{
"amount": "100",
"withdrawal_address": "5xot9PVkphiX2adznghwrAuxGs2zeWisNSxMW6hU6Hkj",
"delegator_address": "5xot9PVkphiX2adznghwrAuxGs2zeWisNSxMW6hU6Hkj",
"withdrawal_authority": "5xot9PVkphiX2adznghwrAuxGs2zeWisNSxMW6hU6Hkj"
}Response
Created
Example response
{
"withdraw_intent_id": "4ba06e89-8c29-483e-ac36-318de5aa7364",
"customer_id": "SatoshiNakamoto-xUYJbPw9hw",
"solana": {
"withdraws": [
{
"unsigned_transaction": "0x22895118000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000e00000000000000000000000000000000000000000000000000000000000000120087fed394b43849eebef1e88873cd9efdbe33136656e5148e659b8b2f33625d40000000000000000000000000000000000000000000000000000000000000030b81748644e23c4d950f9dd709f3eb73d5eacd9657997e1d9dde7c4ebd8a6519ecb9d0a7fb603d3b68e023278f9650122000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000020010000000000000000000000c509bb854c526af4cee5e037089f7aa8e091d8870000000000000000000000000000000000000000000000000000000000000060b36b79b4b206c0310472c117fa40c05342b5dc3e89f98f42c9da3ce6450d4c603cad55248017fd4eca3ab277cca64569193e4d487f5b2ea78a2bcdc81926c313c05842a3af318967a775783bba22519e8b8886587efa99aa7dab5784f792b187\n",
"withdrawal_authority_public_key": "5xot9PVkphiX2adznghwrAuxGs2zeWisNSxMW6hU6Hkj",
"stake_account_address": "5xot9PVkphiX2adznghwrAuxGs2zeWisNSxMW6hU6Hkj",
"stake_id": "stake_Wgx98Rbi8nQuL9ddn3mTk1",
"amount": "100",
"expiration_time": 1689939023
}
],
"total_withdraw_amount": "100"
}
}Changes
- breaking
the
response's property type changed fromstringtointeger, and format from no format toint32for status - breaking
the
response's property type changed fromstringtointeger, and format from no format toint32for status - warning
removed the optional property
from the response with the status - warning
removed the optional property
from the response with the status
- breaking