---
updatedAt: 2026-05-13T07:58:31.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 AVAX transaction using the **Avalanche Staking API**. It includes functions to request an unsigned transaction from the Blockdaemon API, deserialize and sign it using the Avalanche SDK, and submit it to the Avalanche Fuji testnet.

## Prerequisites

You’ll need the following before running the script:

* A valid Avalanche Fuji delegator address
* A validator node ID to stake to
* A private key for your P-Chain wallet (starting with PrivateKey-)
* Your Blockdaemon API key

## Tutorial

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

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

> 👍 Reference
>
> View the Avalanche - Staking API Endpoints [here](https://docs.blockdaemon.com/reference/avalanche-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.