Blockdaemon Staking API - Cosmos Post Deactivation Intent
Network
- String
- Enum
- Required
- Allowed:
mainnet,testnet
Request Object
Request object to create a new deactivation intent for Cosmos.
delegator_address
- String
- Required
- Format:
^cosmos[1-9a-zA-Z]{39}$ - Public Key of an asymmetric key-pair.
amount
- String
- Required
- Format:
^[1-9]\d+$ - Denomination of the cryptocurrency Cosmos.
plan_id
- String
- 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.
Response Codes
200- Created
400- Invalid request.
401- Header 'X-API-Key' missing.
500- Internal server error.
Example
Curl Command
curl --request POST \
--url https://svc.blockdaemon.com/boss/v1/cosmos/mainnet/deactivation-intents \
--header 'accept: application/json' \
--header 'content-type: application/json'
Response Codes
200400401500