# Staking

Staking actions involve critical operations related to locking tokens, claiming rewards, and managing staking contracts. Here are the key staking-related actions available within zkAutomate:

1. **Stake/Unstake Tokens:**
   * **Description:** This action enables users to lock up tokens within a network or protocol staking contract based on predefined conditions. Additionally, it allows the withdrawal of tokens from a staking contract based on specific conditions or criteria.
2. **Claim Rewards:**
   * **Description:** Automates the collection of accrued rewards from activities such as staking, farming, or participation in incentive programs. Users have the option to compound these rewards, enhancing their staking gains over time.

{% hint style="info" %}
These staking actions provide users with the capability to effectively manage their staked assets, lock or unlock tokens within staking contracts based on conditions, and automate the collection of rewards earned from staking activities.
{% endhint %}

> **Note:** Understanding these Staking Actions is essential for efficient management of staking portfolios, enabling users to stake or unstake tokens based on conditions and automate the rewards collection process to maximize gains.


---

# Agent Instructions: Querying This Documentation

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

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.zotto.ai/actions/staking.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
