tokens_metadata
Fetches token metadata—symbol and decimals—by contract address and chain ID to support accurate token display and formatting.
Instructions
Get token metadata (symbol, decimals) by address and chain
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": {
"address": "<address>",
"chainId": "<chainId>"
},
"name": "tokens_metadata"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| address | Yes | Token contract address (0x...) | |
| chainId | Yes | Chain ID | |
| workspace | No | Workspace alias to run this command in (see `splits auth workspaces`). Overrides SPLITS_WORKSPACE and the active workspace. |