Blockdaemon Staking API - Avalanche Post Stake Intent
Network
- String
Allowed: mainnet, fuji, local
Enum: required
Request object to create a new Stake Intent for Avalanche
validator_address
- String
Pattern: ^NodeID-[A-Za-z0-9]{43}$
Description: Avalanche validator address
delegator_address
- String
Required
Pattern: ^([P]|[a-km-zA-HJ-NP-Z1-9]{36,72})-[a-zA-Z]{1,83}1[qpzry9x8gf2tvdw0s3jn54khce6mua7l]{38}$
Description: Avalanche delegator address
start_time
- Int64
Description: Avalanche staking start time
end_time
- Int64
Description: Avalanche staking end time
amount
- String
Required
Pattern: ^[1-9]\d+$
Description: Amount of nano-Avalanche to stake. 1 Avalanche = 1e9 nano-Avalanche.
plan_id
- String
Description: This feature enables you to stake to validators from the specified plan(s). When no plan id is specified, validators across all plans that match the API route will be available for staking. If it is a shared plan, you can stake to validators on a shared node from the specified plan.
Idempotency-Key
- UUID
Description: The unique idempotency key for this request.
Responses
200 Created
400 Invalid request.
401 Header 'X-API-Key' missing.
500 Internal server error.
Example
cURL Example
curl --request POST \
--url https://svc.blockdaemon.com/boss/v1/avalanche/mainnet/stake-intents \
--header 'accept: application/json' \
--header 'content-type: application/json'
Expected Responses