getTotalSupply
Retrieve the total supply of any ERC20 token by providing its address. Specify a chain ID for a particular network or get results across all supported chains.
Instructions
Gets the total supply of an ERC20 token
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": {
"token": "<token>"
},
"name": "getTotalSupply"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| token | Yes | The token address | |
| chainId | No | If not specified, returns total supply for all supported chains. |