convert_chain_id_to_name
Converts numeric chain IDs into readable blockchain names like Arbitrum or Optimism, making API responses clearer. Returns 'Unknown Chain (ID)' when the ID is not found.
Instructions
Convert a chain ID to its human-readable name.
WORKFLOW INSTRUCTIONS:
- Use this to make API responses more readable
- Chain IDs are numeric strings, names are like "Arbitrum", "Optimism"
- Returns "Unknown Chain (ID)" if chain ID not found
DATA FORMATTING:
- Always use this before displaying chain information to users
- Combine with other tools for complete chain analysisInput Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chainId | Yes | The chain ID to convert |