Get contract / token metadata
avax_data_get_token_metadataRetrieve token metadata (type, name, symbol, decimals, deployment transaction) for any ERC-20/721/1155 contract address on Avalanche using the Data API.
Instructions
Get metadata for a contract address (ERC-20/721/1155 type, name, symbol, decimals, deployment tx) via Avalanche Data API.
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>"
},
"name": "avax_data_get_token_metadata"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| address | Yes | ||
| chain_id | No | EVM chain ID as string (43114 mainnet C-Chain, 43113 Fuji) or a network key like 'fuji' | 43113 |