getTokenMetadata
Retrieve ERC20 token metadata including name, symbol, decimals, and totalSupply by providing the token address and chain ID. Ideal for Ethereum-based research and automation.
Instructions
Gets all metadata (name, symbol, decimals, totalSupply) of an ERC20 token
Input Schema
Name | Required | Description | Default |
---|---|---|---|
chainId | Yes | The token chain | |
token | Yes | The token address |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"chainId": {
"description": "The token chain",
"type": "number"
},
"token": {
"description": "The token address",
"type": "string"
}
},
"required": [
"token",
"chainId"
],
"type": "object"
}