> For the complete documentation index, see [llms.txt](https://docs.wemix.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.wemix.com/en/tutorial/erc-20-token/check-erc-20-token-api.md).

# 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="https://content.gitbook.com/content/Hf9f4FuSvei1yoMuW1wT/blobs/JH6mU5IRHYMbR0U3JQa7/00.Postman%20My%20Workspace.png" alt=""><figcaption><p>Postman My Workspace</p></figcaption></figure>

<figure><img src="https://content.gitbook.com/content/Hf9f4FuSvei1yoMuW1wT/blobs/oESkhZdAdVmg6WDaKyL4/01.Postman%20WEMIX3.0%20API%20%E1%84%89%E1%85%B5%E1%86%AF%E1%84%92%E1%85%A2%E1%86%BC.png" 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="https://content.gitbook.com/content/Hf9f4FuSvei1yoMuW1wT/blobs/ZajgD52uuXTussXvAHqu/02.Total%20Supply%20API%20%E1%84%89%E1%85%B5%E1%86%AF%E1%84%92%E1%85%A2%E1%86%BC.png" 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="https://content.gitbook.com/content/Hf9f4FuSvei1yoMuW1wT/blobs/QkKMGZ5P8BGeaZGXUpoB/03.Total%20Supply%20API%20%E1%84%89%E1%85%B5%E1%86%AF%E1%84%92%E1%85%A2%E1%86%BC%E1%84%80%E1%85%A7%E1%86%AF%E1%84%80%E1%85%AA.png" alt=""><figcaption><p>Result of Total Supply API </p></figcaption></figure>

<figure><img src="https://content.gitbook.com/content/Hf9f4FuSvei1yoMuW1wT/blobs/OHE5QrrI7IKDygIFwkZJ/WEMIX3.0%20Testnet%20Explorer%20Total%20supply_.png" alt=""><figcaption><p>WEMIX3.0 Testnet Explorer Total supply</p></figcaption></figure>
