Post Rewards Restake Intent Polygon API
Request Object for Rewards Restake Intent for Polygon
Fields
network
- Type: string
- Enum Values:
mainnet,goerli,prater - Required: Yes
wallet_address
- Type: string
- Pattern:
^0x[a-fA-F0-9]{40}$ - Description: Hex-encoded Ethereum account or smart contract address.
- Required: Yes
validator_share_address
- Type: string
- Pattern:
^0x[a-fA-F0-9]{40}$ - Description: Hex-encoded Ethereum account or smart contract address.
plan_id
- Type: 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.
token_type
- Type: string
- Enum Values:
MATIC,POL - Description: Polygon token type. Defaults to POL.
Responses
200
Description: Rewards restake intent created
400
Description: Invalid request.
401
Description: Header 'X-API-Key' missing.
500
Description: Internal server error.
Example Usage
curl --request POST \
--url https://svc.blockdaemon.com/boss/v1/polygon/mainnet/rewards/restake-intents \
--header 'accept: application/json' \
--header 'content-type: application/json' \
--data '{"token_type":"POL"}'
Response Codes:
200400401500