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.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"contract": "<contract>"
},
"name": "1s_total_supply_live"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| contract | Yes | Token contract address | |
| network | No | Blockchain network: "ethereum" (default), "sepolia", "avax" |