1s_total_supply_live
Retrieve the real-time total supply of any ERC20 or ERC721 token using the totalSupply() RPC call. Returns raw token units for ERC20 or total count for ERC721.
Instructions
Get the total supply of an ERC20 or ERC721 token via totalSupply() RPC call. Use this for real-time supply data. Returns raw token units for ERC20 (divide by 10^decimals) or total count for ERC721.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| contract | Yes | Token contract address | |
| network | No | Blockchain network: "ethereum" (default), "sepolia", "avax" |