getTotalSupply
Retrieve the total supply of any ERC20 token by inputting its address and optional chain ID. Simplify cryptocurrency research and Ethereum-based automation with this tool.
Instructions
Gets the total supply of an ERC20 token
Input Schema
Name | Required | Description | Default |
---|---|---|---|
chainId | No | If not specified, returns total supply for all supported chains. | |
token | Yes | The token address |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"chainId": {
"description": "If not specified, returns total supply for all supported chains.",
"type": "number"
},
"token": {
"description": "The token address",
"type": "string"
}
},
"required": [
"token"
],
"type": "object"
}