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.
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 |