> For the complete documentation index, see [llms.txt](https://support.keyst.one/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://support.keyst.one/traditional-chinese/di-san-fang-qian-bao/polkadot-qian-bao/geng-xin-huo-zhong-zhi-metadata.md).

# 更新或重置 Metadata

如果您在與 Polkadot 網絡交互時遇到錯誤消息 "Bad Input data. Failed to decode extensions. Please try updating the Metadata for Kusama/Polkadot network"，可能是因為 Polkadot{.js} 錢包運行時未更新 Polkadot 網絡的 Metadata。在本教程中，我們將為您介紹如何在 Keystone 上解決 Metadata 的問題。

## 更新 Keystone 上的 Metadata <a href="#fn2eesqgbudu" id="fn2eesqgbudu"></a>

要使用 Keystone 更新 Polkadot 網絡的 Metadata ，請按照以下簡單步驟操作：

1. 點擊提供的鏈接，訪問 Keystone 的 [Metadata 門戶](https://metadata.parity.io/#/polkadot)。
2. 使用 Keystone 設備，點擊 \[-] 圖標以激活相機。
3. 掃描 Metadata 門戶上的 QR 碼，並點擊 \[Approve]。

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

{% hint style="info" %}
注意：

如果您需要更新 **Kusama 網絡**的 Metadata ，請在 Metadata 門戶上點擊 \[Kusama]，然後按照相同的步驟操作。
{% endhint %}

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

## 重置 Metadata <a href="#sf51fp44uneg" id="sf51fp44uneg"></a>

如果您需要重置 Polkadot 或 Kusama 網絡的 Metadata ，請按照以下步驟操作：

1. 確保您已經通過将 DOT 或 KSM 資產添加到主页。
2. 點擊 \[DOT] 或 \[KSM]，再點擊右上角的三個點。
3. 點擊 \[Reset Data]，閱讀警告，並點擊 \[Confirm]。

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

通過按照這些步驟操作，您可以輕鬆更新 Keystone 上的 Polkadot 網絡 Metadata ，確保您的擴展與最新信息保持一致，並在使用 Polkadot 或 Kusama 網絡時保持順暢的功能。


---

# 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 dynamically by asking a question.

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

```
GET https://support.keyst.one/traditional-chinese/di-san-fang-qian-bao/polkadot-qian-bao/geng-xin-huo-zhong-zhi-metadata.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
