---
updatedAt: 2026-05-13T08:33:18.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

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

## Prerequisites

You’ll need the following before running the script:

* A mnemonic for your Cosmos wallet
* Your Blockdaemon API key
* [Cosmos RPC endpoint](https://docs.blockdaemon.com/reference/cosmos-tendermint-methods-rpc-api)

## Tutorial

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

<Recipe slug="stake-atom-via-blockdaemon-api" title="Stake ATOM via Blockdaemon API" />

> 👍 Reference
>
> * View the Cosmos - Staking API Endpoints [here](https://docs.blockdaemon.com/reference/cosmos-api-overview).
> * View the Cosmos - Staking Reporting API Endpoints [here](https://docs.blockdaemon.com/reference/cosmos-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.