> For the complete documentation index, see [llms.txt](https://docs.somnia.network/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.somnia.network/get-started/update-the-block-explorer-in-metamask.md).

# Update the block explorer in metamask

You may find that metamask has defaulted to using an incorrect block explorer. You will notice this when you click on view on block explorer in metamask you get a page like this:<br>

<figure><img src="https://2122549367-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FkYErT9t3BJtpPfejLO6I%2Fuploads%2FVS2Cr4UyBSW1IfXANpIy%2Fimage.png?alt=media&amp;token=3cfa8553-c45d-4eef-831d-60fe86211d3f" alt=""><figcaption></figcaption></figure>

To fix this you need to update the block explorer in your metamask config for the Somnia devnet. First open metamask.\ <br>

<figure><img src="https://2122549367-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FkYErT9t3BJtpPfejLO6I%2Fuploads%2FIYs3u8yzTzYSduuwasGH%2Fimage.png?alt=media&amp;token=50e12b70-41ee-4db0-bf01-ab9cd4230ca1" alt=""><figcaption></figcaption></figure>

Now click on the network in the top right this will bring down the select network windoScroll to the Somnia Testnet and click the 3 dots to open the config.

<figure><img src="https://2122549367-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FkYErT9t3BJtpPfejLO6I%2Fuploads%2FuVwsmj0x9gUVjULJE7fJ%2Fimage.png?alt=media&amp;token=55324afc-b10b-4c9d-8f0f-dc6facc204a2" alt=""><figcaption></figcaption></figure>

Here click on the down arrow on the block explorer URL and click add block explorer URL<br>

<figure><img src="https://2122549367-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FkYErT9t3BJtpPfejLO6I%2Fuploads%2Fyy29zENSoEzkYtHOwpJK%2FBlock-Explorer.png?alt=media&amp;token=eb13a7cc-2905-42da-90fb-25e5ee8ff4b5" alt="" width="480"><figcaption></figcaption></figure>

In the URL box type: <https://shannon-explorer.somnia.network/>

It will now default to using the somnia-devnet block explorer. You can check this by viewing a transaction on the block explorer

<figure><img src="https://2122549367-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FkYErT9t3BJtpPfejLO6I%2Fuploads%2F4QCNR3WWW6qnaDYmKMt3%2Fimage.png?alt=media&amp;token=06721880-8320-4bf3-bef1-02d58693fc08" alt=""><figcaption></figcaption></figure>

It should look like this:

<figure><img src="https://2122549367-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FkYErT9t3BJtpPfejLO6I%2Fuploads%2FHLOHsHl0Nn530m23aHMY%2Fimage.png?alt=media&amp;token=35eac1e5-430b-4b27-85d1-3a95e266698c" alt=""><figcaption></figcaption></figure>

Have fun exploring the Testnet!


---

# 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://docs.somnia.network/get-started/update-the-block-explorer-in-metamask.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.
