# Use with Metamask

Using free, public blockchain RPC can sometimes lead to slower page loads in dApps, or worst-case, make them not work at all. However, it is possible to use premium paid RPC endpoints, such as Fiews, to ensure a better experience.

Using Metamask with Fiews has some benefits, including, but not limited to:

* Access to a pool of blockchain nodes, used by production apps and Chainlink nodes, among others
* Proprietary TX broadcasting logic, ensuring your transactions are broadcast across the network, reducing the wait times for miners and explorers to pick up your transactions.

Here's a quick guide on how you can use Metamask with Fiews:

{% hint style="info" %}
If you already have a Fiews subscription, feel free to skip to **Step 2**.
{% endhint %}

## Step 1: Get a Fiews subscription

Head over to [the Fiews dashboard](https://dashboard.fiews.io/register) and create a new subscription. Once activated, it will look something like this:

![If you want access to a different network than Ethereum, such as Polygon or Binance Smart Chain, you will have to add these to your subscription.](/files/xjuOwz8OHiSOxMiu2rXB)

Take note of the RPC URL for the network you want to use. The RPC URL will begin with `https://...`. Keep in mind that these URLs contain your private API key, and should not be shared with anyone.

![This is what the endpoint URLs look like in your dashboard. The API key we're using in this guide is a dummy key and doesn't actually work.](/files/rrDjTOan5oSjPBaFm9Ll)

## Step 2: Set up Metamask

In Metamask, you can choose to either add a new network or edit the RPC of an existing network you've previously added.

### Option A: Adding a new network

In your Metamask, click the network name you're currently connected to, and click the **"Add network"** button at the bottom of the list.

Here you'll have to fill out 5 fields:

![](/files/90zM7qwo1Q9z54em5KtN)

**Network name:** This is a name for you to identify which network this configuration is for. For instance, you can name Polygon **"Polygon Fiews"**.\
**New RPC URL:** This is the RPC URL for the network. You'll find the Fiews RPC URL as described in **Step 1** of this guide.\
**Chain ID:** This is the chain ID for this network. Check out the table below if you're not sure.\
**Currency Symbol:** This is the ticker of the currency used on this chain, e.g. "ETH" or "MATIC". Check out the table below if you're not sure.\
**Block Explorer URL:** Give it the link of the block explorer of this chain, so you can quickly view your transactions in this explorer. Check out the table below if you're not sure.

<table><thead><tr><th>Network name</th><th data-type="number">Chain ID</th><th>Currency Symbol</th><th>Block Explorer URL</th></tr></thead><tbody><tr><td><strong>Ethereum</strong> Mainnet (Fiews)</td><td>1</td><td>ETH</td><td><a href="https://etherscan.io/">https://etherscan.io/</a></td></tr><tr><td><strong>Polygon</strong> Mainnet (Fiews)</td><td>137</td><td>MATIC</td><td><a href="https://polygonscan.com/">https://polygonscan.com/</a></td></tr><tr><td><strong>BSC</strong> Mainnet (Fiews)</td><td>56</td><td>BNB</td><td><a href="https://bscscan.com/">https://bscscan.com/</a></td></tr></tbody></table>

### Option B: Modifying an existing network

{% hint style="info" %}
Metamask does not allow you to change the RPC URL for Ethereum mainnet. If you want to use Fiews for Ethereum you'll have to add a new network to Metamask.
{% endhint %}

In Metamask, click the account visualization in the top right corner. Then click **Settings**. Scroll down and click **Networks**.

From this list, find the network you want to change and click it.

You will be given the same input fields as in option A, except pre-filled with the values you already had. The only thing you want to change is the **New RPC URL** field, which will be the Fiews RPC URL as described in Step 1.

![This is what it looks like when we add the Polygon network with the RPC URL from Step 1](/files/KauvPx4YeDjBtdHePcGp)

## Step 3: Use the updated network! 🎉

The network should now be ready, and you can select it in the network dropdown in Metamask. When using the network you created/updated, you are using a Fiews RPC endpoint!


---

# 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.fiews.io/general-purpose/use-with-metamask.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.
