> ## Documentation Index
> Fetch the complete documentation index at: https://docs.allium.so/llms.txt
> Use this file to discover all available pages before exploring further.

# Staking

> Daily staking metrics across multiple blockchain networks

We currently support staking data in the following blockchains.

<CardGroup cols="4">
  <Card title="Aptos" icon="sparkles" href="/historical-data/supported-blockchains/move-ecosystem/aptos/staking" />

  <Card title="Beacon" icon="sparkles" href="/historical-data/supported-blockchains/evm/beacon-chain" />

  <Card title="Binance Smart Chain" icon="sparkles" href="/historical-data/supported-blockchains/evm/bsc/staking" />

  <Card title="IOTA" icon="sparkles" href="/historical-data/supported-blockchains/move-ecosystem/iota/staking" />

  <Card title="Monad" icon="sparkles" href="/historical-data/supported-blockchains/evm/monad/staking" />

  <Card title="Near" icon="sparkles" href="/historical-data/supported-blockchains/other-ecosystems/near/staking" />

  <Card title="Polygon" icon="sparkles" href="/historical-data/supported-blockchains/evm/polygon/staking" />

  <Card title="Solana" icon="sparkles" href="/historical-data/supported-blockchains/solana/solana/staking" />

  <Card title="Sui" icon="sparkles" href="/historical-data/supported-blockchains/move-ecosystem/sui/staking" />

  <Card title="TON" icon="sparkles" href="/historical-data/supported-blockchains/other-ecosystems/ton/staking" />

  <Card title="Tron" icon="sparkles" href="/historical-data/supported-blockchains/evm/tron/staking" />
</CardGroup>

## Staking Metrics

The `crosschain.metrics.staking_overview` model provides an daily view of staking activity across multiple blockchain networks, enabling cross-chain comparisons of staking events, rewards, and economic metrics.

The column names and coverage may change as we iterate to improve this model.

## Column Names

| Column Name              | Data Type | Description                                                  |
| ------------------------ | --------- | ------------------------------------------------------------ |
| activity\_date           | DATE      | Date of the staking metrics snapshot                         |
| chain                    | STRING    | Blockchain identifier (e.g., 'ethereum', 'polygon')          |
| chain\_name              | STRING    | Human-readable blockchain name (e.g., 'Ethereum', 'Polygon') |
| token\_name              | STRING    | Name of the native staking token (e.g., 'Ether', 'Matic')    |
| token\_symbol            | STRING    | Symbol of the native staking token (e.g., 'ETH', 'MATIC')    |
| token\_price             | FLOAT     | USD price of the token on the activity date                  |
| circulating\_supply\_usd | FLOAT     | Total value of all circulating tokens in USD                 |
| circulating\_supply      | FLOAT     | Total number of tokens in circulation                        |
| total\_stake             | FLOAT     | Total amount of tokens staked in the network                 |
| total\_stake\_usd        | FLOAT     | USD value of all staked tokens                               |
| active\_stake            | FLOAT     | Amount of tokens actively participating in consensus         |
| active\_stake\_usd       | FLOAT     | USD value of actively staked tokens                          |
| total\_reward            | FLOAT     | Total staking rewards distributed on the activity date       |
| total\_reward\_usd       | FLOAT     | USD value of staking rewards distributed                     |
| apr                      | FLOAT     | Annualized percentage rate of return for stakers             |
| stake\_inflow            | FLOAT     | Amount of new tokens staked on the activity date             |
| stake\_inflow\_usd       | FLOAT     | USD value of newly staked tokens                             |
| stake\_outflow           | FLOAT     | Amount of tokens unstaked on the activity date               |
| stake\_outflow\_usd      | FLOAT     | USD value of unstaked tokens                                 |
| net\_stake\_inflow       | FLOAT     | Net change in staked tokens (inflow - outflow)               |
| net\_stake\_inflow\_usd  | FLOAT     | USD value of net stake change                                |
| \_created\_at            | TIMESTAMP | Timestamp when the record was created                        |
| \_updated\_at            | TIMESTAMP | Timestamp when the record was last updated                   |

## Sample Query

The following query compares staking participation rates and rewards across different blockchain networks:

```sql theme={null}
SELECT
  ACTIVITY_DATE,
  CHAIN_NAME,
  TOKEN_SYMBOL,
  TOKEN_PRICE,
  (TOTAL_STAKE / CIRCULATING_SUPPLY) * 100 AS STAKING_RATIO,
  TOTAL_STAKE,
  TOTAL_STAKE_USD,
  TOTAL_REWARD,
  APR
FROM crosschain.metrics.staking_overview_beta
WHERE ACTIVITY_DATE >= CURRENT_DATE - INTERVAL '30 days'
ORDER BY ACTIVITY_DATE DESC, STAKING_RATIO DESC;
```

## Use Cases

* Compare staking participation rates across different blockchain networks
* Track staking yields (APR) across different networks over time
* Identify trends in staking inflows and outflows during market events
* Compare the economic efficiency of different consensus mechanisms
* Monitor network growth through stake accumulation trends

## Notes

* The ACTIVE\_STAKE metric may be lower than TOTAL\_STAKE due to bonding/unbonding periods, slashing, or validator inactivity
* Some chains may have incomplete or NULL values for certain metrics
* Data latency for some blockchain may go up to 2-3 days
* APR calculations may vary slightly between networks based on reward distribution mechanisms
