Token info
get_token_infoRetrieve an ERC-20 token's name, symbol, decimals, and total supply—including raw and formatted values—by providing its contract address.
Instructions
Get an ERC-20 token's name, symbol, decimals and total supply (raw and formatted).
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_address": "<token_address>"
},
"name": "get_token_info"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| token_address | Yes | The contract address of the token. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Token name | |
| symbol | Yes | Token symbol | |
| address | Yes | Token contract address | |
| decimals | Yes | Token decimals | |
| total_supply | Yes | Total supply (raw) | |
| total_supply_formatted | No | Formatted total supply |