---
updatedAt: 2026-06-09T12:37:48.000Z
---

Fetch the complete documentation index at: https://docs.blockdaemon.com/llms.txt. Use this file to discover all available pages before exploring further. Append .md to any documentation page URL to get its markdown version.

# Staking API

View some examples showing how to use Blockdaemon Polkadot Staking API.

On this page, you will find a TypeScript example showing how to send a DOT transaction using the **Polkadot Staking API**. It includes functions for staking, deactivating, or withdrawing DOT tokens.

## Prerequisites

You’ll need the following before running the script:

* A funded Polkadot (or Westend) wallet
* Your Blockdaemon API Key
* Access to a [Polkadot-compatible RPC](https://docs.blockdaemon.com/reference/polkadot-rpc-api) endpoint (e.g., wss\://westend-rpc.polkadot.io)
* Your proxy or stash account keys

## Tutorial

*⬇️ Follow the step-by-step guide in the recipe below:*

<TutorialTile
  backgroundColor="#9c63dc"
  emoji="💡"
  id="6867e6edeb9b07003249fc39"
  link="https://docs.blockdaemon.com/v1.0/recipes/stake-dot-via-blockdaemon-api"
  slug="stake-dot-via-blockdaemon-api"
  title="Stake DOT via Blockdaemon API"
/>

> 👍 Reference
>
> * View the Polkadot - Staking API Endpoints [here](https://docs.blockdaemon.com/reference/polkadot-api-overview).
> * View the Polkadot - Staking Reporting API Endpoints [here](https://docs.blockdaemon.com/reference/polkadot-reporting-api-overview).

<br />

## 👋 Need Help?

Contact us through [email](mailto:support@blockdaemon.com) or our [support page](https://www.blockdaemon.com/support) for any issues, bugs, or assistance you may need.