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

# NEAR staking

> Delegate NEAR to a validator with a 2-day unbonding period and rewards that auto-compound daily.

Delegate NEAR to a validator through the Earn API. Rewards compound automatically into the position; unstaking goes through a 2-day unbonding period before it can be withdrawn.

## Yields

| Yield ID | Staking type | Provider | Validator selection |
| - | - | - | - |
| `near-near-native-staking` | Native | Yield.xyz | Required |

## Key facts

| | |
| - | - |
| Network ID | `near` |
| Staked token | NEAR |
| Unbonding | 2 days |
| Warmup | None |
| Minimum | None enforced by the module (minimum 0) |
| Rewards | Auto-compounded, updated daily |

## Enter and exit

Enter takes `amount` and a required `validatorAddress`. Exit takes the same arguments; it unstakes from that validator, and after the 2-day unbonding period the balance is claimed with a pending action.

> [!WARNING]
>
> Exits are subject to a 2-day unbonding period before the `WITHDRAW` pending action becomes available.

## Managing the position

| Action | What it does |
| - | - |
| `WITHDRAW` | Withdraws the unstaked balance after the 2-day unbonding period |

## Related

> **[Non-EVM staking coverage](/documentation/earn/staking/non-evm/index.md)**
>
> Compare every non-EVM staking integration.

> **[Preferred validators](/documentation/earn/staking/validators/preferred-validators.md)**
>
> How validator selection works for this yield.

> **[Actions](/documentation/earn/core-concepts/actions.md)**
>
> Enter, exit, and manage a position through the Earn API.

> **[Networks](/documentation/earn/networks/index.md)**
>
> Non-EVM network reference.

## List the live yields

Copy this request to list the staking yields on this network that are enabled for your project. Yield IDs change as markets and networks are added, so query the API rather than hardcoding them.

```bash theme={null}
curl "https://api.yield.xyz/v1/yields?network=near&types=staking,liquid_staking&limit=100" \
  -H "x-api-key: $YIELD_API_KEY"
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.