Polygon

Lists Deactivation Intents

Changed on

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 unstake (withdraw) your tokens with Post Withdrawal Intent.

get/v1/polygon/{network}/deactivation-intents

Request

  • Base URL
    https://svc.blockdaemon.com/boss
  • URL
    https://svc.blockdaemon.com/boss/v1/polygon/{network}/deactivation-intents
  • Auth
    API key in header X-API-KEY

Query parameters

wallet_addressstring hex

Hex-encoded Ethereum account or smart contract address.

Example:0x00000000219ab540356cBB839Cbe05303d7705Fa

User wallet address.

Response

Deactivation intents listed

protocol'polygon' required

Polygon protocol

network'mainnet' | 'goerli' | 'prater' required

Polygon network

customer_idstring required

Unique identifier for a customer

Example response

{
  "polygon": {
    "items": [
      {
        "nonce": 1,
        "amount": "100"
      }
    ],
    "wallet_address": "0x00000000219ab540356cBB839Cbe05303d7705Fa"
  },
  "customer_id": "SatoshiNakamoto-xUYJbPw9hw"
}

Changes

    • breaking

      the response's property type changed from string to integer, and format from no format to int32 for status

    • breaking

      the response's property type changed from string to integer, and format from no format to int32 for status

    • warning

      removed the optional property from the response with the status

    • warning

      removed the optional property from the response with the status