Post Withdrawal Intent Solana API
Request object to create a new withdrawal intent for Solana.
network
- Type: string
- Allowed:
mainnet, testnet
- Required: Yes
amount
- Type: string
- Pattern:
^[1-9]\d+$
- Description: The amount of funds you want to withdraw (in Lamports). If the value is 0 or unspecified it will be set to current balance.
- Required: Yes
withdrawal_address
- Type: string
- Pattern:
^[1-9A-HJ-NP-Za-km-z]{44}$
- Description: The receiving address – i.e. where the withdrawn funds should go.
- Required: Yes
delegator_address
- Type: string
- Pattern:
^[1-9A-HJ-NP-Za-km-z]{44}$
- Description: Public Key of an asymmetric key-pair.
- Required: No
withdrawal_authority
- Type: string
- Pattern:
^[1-9A-HJ-NP-Za-km-z]{44}$
- Description: Public Key of an asymmetric key-pair.
- Required: No
Response Codes
- 200: Created
- 400: Invalid request.
- 401: Header 'X-API-Key' missing.
- 500: Internal server error.
Example cURL Request
curl --request POST \
--url https://svc.blockdaemon.com/boss/v1/solana/mainnet/withdrawal-intents \
--header 'accept: application/json' \
--header 'content-type: application/json'