get_token_info
Fetch token metadata including name, symbol, decimals, and total supply for a given contract address to identify and display token details.
Instructions
Get token metadata including name, symbol, decimals, and total supply.
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": "get_token_info"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chain | No | Chain name or ID (default: ethereum) | |
| contractAddress | Yes | Token contract address (0x...) |