Skip To Content

Blockdaemon Documentation

Get Deactivation Intents

The Staking Integration API endpoint described on this page allows you to get deactivation intents:

GET Get Deactivation Intents
Authentication Using API Key as an X-API-Key
Polygon API Usage Example
Polygon API User Journey

GET Get Deactivation Intents{protocol}/{network}/deactivation-intents

Returns deactivation requests (only unclaimed stakes) for a given wallet address.

Deactivation requests are stored in the blockchain and provide the user with an unbond nonce for each. Nonces are used to ustake (withdraw) your MATIC tokens with POST Create a New Withdrawal Intent.

Learn more: Polygon API Usage Example, Polygon API User Journey

Note: You need to authorize your request via an API key provided when signing up for a staking account.

Path Parameters

You should specify a protocol and a network as path parameters, e.g.:

  • polygon/prater

Supported Networks

Here is a full list of supported networks with their path parameters:

Protocol Network Path parameters
Polygon Mainnet polygon/mainnet
Polygon Prater polygon/prater

Query Parameters

It is required to specify the user’s Ethereum account address :

  • parameter: wallet_address
  • value: e.g. 0x5c63B71F47dfA807aa6a8705e5cf134f4c3Afd8a

Example Query

To get deactivation intents in the Polygon Prater, use the following:

Example Response

The following is a typical response from GET Get Deactivation Intents:

    "customer_id": "3bcf0d33-cb47",
    "network": "prater",
    "polygon": {
        "items": [
                "amount": "1000000000000000000",
                "nonce": 1,
                "withdraw_epoch": 81820
                "amount": "2000000000000000000",
                "nonce": 2,
	        "withdraw_epoch": 81825
        "wallet_address": "0x5c63B71F47dfA807aa6a8705e5cf134f4c3Afd8a"
    "protocol": "polygon"

Authentication Using API Key as an X-API-Key

When signing up for a staking account, you are provided with an API key.

To authenticate a Staking API request, pass your API key in the X-API-Key header:

curl -X GET \
'' \

Polygon API Usage Example

In this section you will find a TypeScript example showing how to send a Polygon transaction using the Polygon Staking Integration API:

Polygon API User Journey

In this section you will find a typical user journey for Polygon Staking Integration API:

We don't support Internet Explorer

Please use Chrome, Safari, Firefox, or Edge to view this site.