# 如何获得 veCAKE？

<figure><img src="/files/I0L5WUFEfegU5CG3pRxh" alt=""><figcaption></figcaption></figure>

就像锁仓质押 CAKE 糖浆池一样，要享受 veCAKE 带来的好处，只需将 CAKE 锁仓一段时间即可。

## 前往 CAKE Staking 页面

<figure><img src="/files/X5zLGK59gaQktygcpga9" alt=""><figcaption></figcaption></figure>

打开网页 <https://pancakeswap.finance/cake-staking?chain=bsc> 并连接您的钱包。请注意，锁仓 CAKE 获得 veCAKE 仅能在 BNB 链上操作。

## 选择要锁仓的 CAKE 的数量和锁仓时长

<figure><img src="/files/ISRlWghZZUWtY4ONB3O8" alt="" width="375"><figcaption></figcaption></figure>

在页面左侧，您可以输入想要锁仓的 CAKE 数量。

<figure><img src="/files/755KcsIs0FKAeUrz987a" alt="" width="375"><figcaption></figcaption></figure>

在页面右侧，您可以选择锁仓 CAKE 的时长。最短锁仓时长为 1 周，最长锁仓时长现已延长至 4 年。&#x20;

要快速选择锁仓时长，请使用快速操作按钮进行选择： 1 周、1 个月、6 个月、1 年和 4 年。

## 授权 CAKE 的支出并开始锁仓

<figure><img src="/files/aBFivQF5DJV5tC2QtDrL" alt="" width="375"><figcaption></figcaption></figure>

确认后，点击 "锁仓蛋糕（Lock CAKE）" 继续，之后会出现一个加载页面。钱包会提示您确认 CAKE 的支出。在钱包中确认链上操作以继续。&#x20;

CAKE 支出授权上链执行后。会出现另一个钱包弹出窗口，确认该链上操作以完成 CAKE 锁仓并获得veCAKE。

## 做的好！

<figure><img src="/files/HpeWWl4Np6iRV9QSHw9H" alt=""><figcaption></figcaption></figure>

确认后，您将在页面左侧看到您的 veCAKE 锁仓仓位详情，包括锁定的 CAKE 数量和解锁时间。最重要的是，您的 veCAKE 数值。&#x20;

向下滚动可以查看所有 veCAKE 带来的好处。


---

# 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.pancakeswap.finance/chinese/chan-pin/vecake/ru-he-huo-de-vecake.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.
