[SOLVED] Token total supply

Hi there.

How I can get token total supply? Canโ€™t find any helps at the docs (((

Thanks.

on what type of token you are referring ERC20, NFT?

sometimes the contract has a function to return that total supply

1 Like

Bsc (PancakeSwap) / UniSwap.

ERC20 tokens usually have a totalSupply function which you can call.

2 Likes

Now I see. Thanks a lot!