# Check ERC-20 Token API

You can query the ERC-20 Token API using Postman.&#x20;

Let's proceed with the API inquiry process in the order below.

* Step 1 :  Access Postman
* Step 2 : Execute API and Check the results

{% hint style="info" %}
All examples are based on WEMIX3.0 Testnet.
{% endhint %}

## Step 1 : Access Postman

Go to <https://www.postman.com/> and install Postman.\
After accessing Postman, move to 'Workspaces'.

Select the 'Import' button to insert the  `WEMIX3.0 API.json` file to launch the WEMIX3.0 API.

<figure><img src="/files/5uaJVUtX761tAn5InTaQ" alt=""><figcaption><p>Postman My Workspace</p></figcaption></figure>

<figure><img src="/files/jF4xuHCCz4iMXHfnmQFX" alt=""><figcaption><p>Execute Postman WEMIX3.0 API</p></figcaption></figure>

## Step 2 : Execute API and Check the results

From the WEMIX 3.0 API list, select API > Tokens > total-supply to check the ERC-20 token you want.

#### Check Total Supply for Token

{% tabs %}
{% tab title="Testnet" %}
<https://explorerapi.test.wemix.com/v1/tokens/{contract\\_address}/total-supply>
{% endtab %}

{% tab title="Mainnet" %}
<https://explorerapi.wemix.com/v1/tokens/{contract\\_address}/total-supply>
{% endtab %}
{% endtabs %}

Enter the URI above in the input box next to 'Get'.&#x20;

You can enter the contract address you want in the {contract\_address} of the URI.&#x20;

The figure below is an example of checking the Testnet ERC-20 token.

```
https://explorerapi.test.wemix.com/v1/tokens/0x316E2e2DB3fb28e663F2F59899f98D5b925F7E53/total-supply
```

<figure><img src="/files/dMgP2bvOPh46kzZWKFfL" alt=""><figcaption><p>Execute Total Supply API</p></figcaption></figure>

If you select 'Send', you can see that the output is the same as the data found in [Testnet Explorer](https://explorer.test.wemix.com/).

<figure><img src="/files/WAhQ4BP9SPhtXYCoXLZC" alt=""><figcaption><p>Result of Total Supply API </p></figcaption></figure>

<figure><img src="/files/RMWjRyZkX9JVOtpoGQUs" alt=""><figcaption><p>WEMIX3.0 Testnet Explorer Total supply</p></figcaption></figure>


---

# 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.wemix.com/en/tutorial/erc-20-token/check-erc-20-token-api.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.
