onchain_get_token_metadata
Get ERC-20 / SPL token metadata (name, symbol, logo URL, decimals) for one or many tokens on a given chain. Pass tokenAddress as comma-separated for batch lookups, or "native" for the chain's native asset (ETH, MATIC, SOL, etc.). Use this to resolve a token contract into a human-readable display before showing holdings to a user, or to look up decimals before formatting an on-chain balance.
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": {
"chainId": "<chainId>",
"tokenAddress": "<tokenAddress>"
},
"name": "onchain_get_token_metadata"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chainId | Yes | Chain identifier — "1" Ethereum, "137" Polygon, "42161" Arbitrum, "8453" Base, "4663" Robinhood Chain, "solana", etc. | |
| provider | No | Force a specific provider: Alchemy, GoldRush, Moralis, Tatum, Helius, SolScan, Shyft, Uniblock | |
| includeRaw | No | Return raw provider data (disables backup providers) | |
| tokenAddress | Yes | Token contract address, comma-separated for batch, or "native" |