getTokenMetadata
Retrieve ERC-20 token metadata including name, symbol, decimals, and logo by providing the contract address and network.
Instructions
Get metadata (name, symbol, decimals, logo) for an ERC-20 token contract
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": {
"contractAddress": "<contractAddress>"
},
"name": "getTokenMetadata"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| network | No | Network ID. Call listSupportedNetworks for all options. e.g. "eth-mainnet", "base-mainnet" | eth-mainnet |
| contractAddress | Yes | The token contract address to get metadata for. |