getTokenInfo
Retrieve token contract metadata including chain ID and contract address to analyze token details on supported blockchain networks.
Instructions
Fetch metadata for a token contract.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
chain | Yes | Chain ID for the blockchain network. Supports: 1, 137, 42161, 10, and 8453 | |
tokenContract | Yes |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"chain": {
"anyOf": [
{
"enum": [
"1",
"137",
"42161",
"10",
"8453"
],
"type": "string"
},
{
"allOf": [
{
"type": "number"
},
{
"enum": [
"1",
"137",
"42161",
"10",
"8453"
],
"type": "string"
}
]
}
],
"description": "Chain ID for the blockchain network. Supports: 1, 137, 42161, 10, and 8453"
},
"tokenContract": {
"pattern": "^0x[a-fA-F0-9]{40}$",
"type": "string"
}
},
"required": [
"chain",
"tokenContract"
],
"type": "object"
}