Use when an agent needs a Solana token's basics before quoting, transferring or
Use when an agent needs a Solana token's basics before quoting, transferring or accepting it. Input: mint. Output: JSON slot, program (spl-token or token-2022), decimals, supply raw and decimal, mint and freeze authority, Token-2022 extensions (transfer fee, permanent delegate, transfer hook, default frozen, metadata), known issuer if curated. Not a mint: 422, unknown: 404, not charged. Example: ?mint=EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v
Paid test badge: not yet. The checks above are free: we call the tool without paying and read the payment request it sends back. The Verified badge needs paid calls whose answers match the promised output, and nobody can buy a badge.
Endpoint
GET https://1gateway.dev/v1/onchain/solana/token-info
| Category | Market data |
|---|---|
| Provider host | 1gateway.dev |
| Networks | eip155:8453, solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp |
| Payment schemes | exact |
| Self-reported calls, 30 days | 2 from 1 payers (the provider's figure, not ours) |
Our checks, last 30 days
We never call tools that send, buy, move money or file anything, not even without paying.
Example input (from the provider)
{
"method": "GET",
"queryParams": {
"mint": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v"
},
"type": "http"
}
Promised output schema (from the provider)
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"input": {
"additionalProperties": false,
"properties": {
"method": {
"enum": [
"GET"
],
"type": "string"
},
"queryParams": {
"additionalProperties": false,
"properties": {
"mint": {
"description": "Token mint address on Solana mainnet (base58, 32 bytes). Bad input \u2192 400, not a mint \u2192 422 (not charged)",
"examples": [
"EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v"
],
"pattern": "^[1-9A-HJ-NP-Za-km-z]{32,44}$",
"type": "string"
}
},
"required": [
"mint"
],
"type": "object"
},
"type": {
"const": "http",
"type": "string"
}
},
"required": [
"type",
"method"
],
"type": "object"
},
"output": {
"properties": {
"example": {
"properties": {
"chain": {
"type": "string"
},
"cluster": {
"type": "string"
},
"decimals": {
"type": "integer"
},
"extensions": {
"properties": {
"defaultAccountState": {
"type": "null"
},
"list": {
"items": {
"type": "string"
},
"type": "array"
},
"metadata": {
"properties": {
"name": {
"type": "string"
},
"symbol": {
"type": "string"
},
"updateAuthority": {
"type": "string"
},
"uri": {
"type": "string"
}
},
"type": [
"object",
"null"
]
},
"mintCloseAuthority": {
"type": [
"string",
"null"
]
},
"nonTransferable": {
"type": "boolean"
},
"permanentDelegate": {
"type": [
"string",
"null"
]
},
"transferFee": {
"properties": {
"basisPoints": {
"type": "integer"
},
"configAuthority": {
"type": "string"
},
"maximumFeeRaw": {
"type": "string"
}
},
"type": [
"object",
"null"
]
},
"transferHookProgram": {
"type": "null"
}
},
"type": "object"
},
"freezeAuthority": {
"type": "string"
},
"knownIssuer": {
"properties": {
"issuer": {
"type": "string"
},
"note": {
"type": "string"
}
},
"type": "object"
},
"mint": {
"type": "string"
},
"mintAuthority": {
"type": "string"
},
"name": {
"type": "string"
},
"nameSource": {
"type": "string"
},
"notes": {
"items": {
"type": "string"
},
"type": "array"
},
"program": {
"type": "string"
},
"rpc": {
"properties": {
"servedBy": {
"type": "string"
}
},
"type": "object"
},
"slot": {
"type": "integer"
},
"supply": {
"properties": {
"amount": {
"type": "string"
},
"raw": {
"type": "string"
}
},
"type": "object"
},
"symbol": {
"type": "string"
}
},
"required": [
"chain",
"cluster",
"mint",
"slot",
"program",
"name",
"symbol",
"nameSource",
"decimals",
"supply",
"mintAuthority",
"freezeAuthority",
"extensions",
"knownIssuer",
"notes",
"rpc"
],
"type": "object"
},
"type": {
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
}
},
"required": [
"input"
],
"type": "object"
}