# Etherscan Basics

When reading a contract on Etherscan, you have the option to access the `Read` and `Write` functions of that contract.

`Read` functions allow you to access data and information stored by the contract.&#x20;

`Write` functions allow you to interact with the contract using your own wallet (MetaMask/WalletConnect) and trigger transactions on the contract.

{% hint style="info" %}
Bancor contracts are using `Proxy` which means you will need to use the `Read as Proxy` and `Write as Proxy` options to interact with the contract
{% endhint %}

### How to Connect to Etherscan

1. Navigate to [etherscan.io](https://etherscan.io/)
2. Search for an address. You can also search for a token symbol (e.g., '`BNT`') in some cases. \
   If the address you are viewing belongs to a contract, the option to view the contract will appear.&#x20;
3. Click **Contract** to view the available functions.\
   &#x20;![](/files/Yue7Q80ls53xx0bGD7ZO)\
   A new section will appear with the `Read` and `Write` options:\
   ![](/files/EMf4FL18jaGcqOaiRHwv)\
   \
   You can interact with the `Read` section without connecting your wallet.<br>
4. Click **Write Contract** or **Write as Proxy**. \
   An option to connect your wallet will appear:\
   ![](/files/EsIeBzPdGcE9L9vznhTh)
5. Click **Connect to Web3** to open the wallet selection menu:\
   ![](/files/v6pnHVFGNMZydisegGIN)
6. Connect your wallet using one of the available options.\
   If the connection succeeds, the indication will turn green and enable interaction:\
   ![](/files/SUQMKd1Xnw5TQhS4hydU)

{% hint style="info" %}
When inputting numbers you should always use the `WEI` format.\
e.g., 1 ETH should be written as 1+10^18 (`1000000000000000000`)
{% endhint %}

{% hint style="warning" %}
Always ensure you use the correct number of decimals for the token you are interacting with.

e.g., USDC has 6 decimals which means the correct input for 1 USDC in `WEI` = 1+10^6 (`1000000`)

*Not sure about the token decimal,* [*check this guide*](https://info.etherscan.com/understanding-token-page/#:~:text=Clicking%20on%20the%20i%20button,transfer%20events%20is%20recorded%20here.)
{% endhint %}


---

# 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.bancor.network/guides/bancor-etherscan-guide/etherscan-basics.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.
