Skip To Content

Blockdaemon Documentation

Post Deactivation Intent

The Staking Integration API endpoint described on this page allows you to create a deactivation intent:

POST Create a New Deactivation Intent
Authentication Using API Key as an X-API-Key

POST Create a New Deactivation Intent{protocol}/{network}/deactivation-intents

Creates a transaction to deactivate a certain amount.

This transaction will disconnect the Blockdaemon proxy account from the user controller account. This will take place as soon as the user signs and broadcasts the transaction to the network.

Please note that all existing nominations of the controller account will remain active. Blockdeamon will immediately cease the further management of nominations even if the deactivation transaction is not broadcasted by the user to the network.

Learn more: Polkadot API Usage Example

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.:

  • polkadot/mainnet

Supported Networks

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

Protocol Network Path parameters
Polkadot Mainnet polkadot/mainnet
Polkadot Westend polkadot/westend

Example Query

To create a new stake intent in the Polkadot Mainnet, use the following:

Request Body

In the request body you need to specify the following:

  • controller_address: The Polkadot account address in SS58 format

Example Request Body

    "controller_address": "5FHneW46xGXgs5mUiveU4sbTyGBzmstUspZC92UhjJM694ty"

Example Response

The following is a typical response from POST Create a New Deactivation Intent:

    "protocol": "polkadot",
    "network": "mainnet",
    "customer_id": "BitcoinSatoshi-xUYJbPw9hw",
    "polkadot": {
      "unsigned_transaction": "0xa4041d0200e659a7a1628cdd93febc04a4e0646ea20e9f5f0ce097d9a05290d4a9e054df4e0100000000",
      "controller_address": "5FHneW46xGXgs5mUiveU4sbTyGBzmstUspZC92UhjJM694ty",
      "proxy_address": "16D2eVuK5SWfwvtFD3gVdBC2nc2BafK31BY6PrbZHBAGew7L"

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 POST \
'' \
-H 'Content-Type: application/json' \
-d '{"controller_address": "5FHneW46xGXgs5mUiveU4sbTyGBzmstUspZC92UhjJM694ty"}'

We don't support Internet Explorer

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