Get token info
get_token_infoFetches a token's symbol, decimals, and name from the blockchain via your RPC using an address or symbol. Specify a chain to verify token metadata before swaps or checks.
Instructions
Symbol, decimals and name of a token, read from the chain through your RPC.
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": "<token>"
},
"name": "get_token_info"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chain | No | base | eth | optimism | arbitrum | robinhood, or a numeric chain id. Optional when your RPC has a single chain. | |
| token | Yes | a 0x address, or a symbol such as USDC |