> For the complete documentation index, see [llms.txt](https://docs.xyo.network/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.xyo.network/xyo-layer-one/staking/staking-process-actions-and-rules.md).

# Staking Process: Actions & Rules

### Staking Actions

Staking involves three core actions:

* **Adding Stake**: Stake becomes active immediately upon being added to an address.
* **Removing Stake**: The initial staker may remove stake at any time, making it inactive. However, it remains at risk of slashing until fully withdrawn.
* **Withdrawing Stake**: After removal, the stake must go through a cooldown period before it can be withdrawn. This prevents malicious actors from evading slashing by instantly withdrawing their stake.

The cooldown period is typically defined by a fixed number of blocks in the underlying staking smart contract.

### Staking Stages

Staking in XYO Layer One moves through four stages:

* **Staked** – Tokens are active and earning rewards.
* **Stake Removed** – Tokens are made inactive and stop earning rewards, but remain at risk of slashing until withdrawal is possible.
* **Withdrawal Ready** – After a cooldown period (measured in blocks), tokens are unlocked and eligible for withdrawal. They are no longer at risk of slashing but are not yet back in your wallet.
* **Withdrawn** – Tokens are returned to your wallet.

The cooldown period between Stake Removed and Withdrawal Ready prevents malicious actors from avoiding slashing by immediately pulling tokens after bad behavior. The length of this period is defined by the staking smart contract.

### Staking Rules

* **Anyone May Stake**: Any participant can stake, even without running a node. This opens access to a wider range of users and supports broader network security.
* **In a Rewarding Event**:
  * **Node Staking**: Rewards are determined by the node owner, who receives both the block reward and a portion of the Step Reward. These rewards tend to be higher than System Staking.
  * **System Staking**: System Stakers are not eligible for block rewards. Instead, they can earn participation-based Step Rewards.

*More details on slashing mechanisms will be made available in future documentation.*


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.xyo.network/xyo-layer-one/staking/staking-process-actions-and-rules.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
