Post Rewards Withdrawal Intent Polygon API
NewRewardsWithdrawIntentPolygon
Request object to create a new rewards withdrawal intent for Polygon.
Parameters
wallet_address
- Type: string
- Required: Yes
- Pattern:
^0x[a-fA-F0-9]{40}$ - Description: Hex-encoded Ethereum account or smart contract address.
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: Defaults to POL
- Description: Polygon token type
- Allowed:
MATIC,POL
Response Codes
200Rewards withdrawal intent created400Invalid request.401Header 'X-API-Key' missing.500Internal server error.
Example Request
curl --request POST \
--url https://svc.blockdaemon.com/boss/v1/polygon/mainnet/rewards/withdrawal-intents \
--header 'accept: application/json' \
--header 'content-type: application/json' \
--data '{"token_type":"POL"}'
Allowed Response Types
application/json200,400,401,500