1gateway
Use when an agent needs an ERC-20's basics on Base before quoting, transferring or approving it. Input: address (token contract); optional holder (adds balance and share of supply) and spender (adds allowance, flags unlimited approvals). Output: JSON block+time, name, symbol, decimals, totalSupply raw and decimal, known issuer if curated. Name/symbol are self-reported. EOA or non-ERC-20: 4xx, not charged. Example: ?address=0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913
Offering
- Provider
- 1gateway.dev
- Method
- GET
- Offering type
- Api Endpoint
- Transport type
- http
- Category
- Blockchain And Crypto
- Delivery
- Not provided
- Pricing model
- Not provided
- x402 version
- 2
Endpoint context
- URL
https://1gateway.dev/v1/onchain/base/token-info- MIME type
- application/json
- First seen
- 2026-10-16T01:50:24.663Z
- Last seen
- Tags
- Base, ERC20, token-metadata, allowance, Onchain
Payment pricing
x402 payment terms are the authoritative price for calling this endpoint.
- Payment option 1
- 0.002 USDC
Atomic price: 2000 · Network: eip155:8453 · Asset: USDC · Scheme: exact - Payment option 2
- 0.002 USDC
Atomic price: 2000 · Network: solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp · Asset: USDC · Scheme: exact
Raw x402 terms
[
{
"scheme": "exact",
"network": "eip155:8453",
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"amount": "2000",
"payTo": "0x6246eee0355Dd7A93C888fE59e1151388A0cC5a1"
},
{
"scheme": "exact",
"network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
"asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
"amount": "2000",
"payTo": "AwV6UZobYPyTdsuNa2NknZZrnmmUoH5ckEv3wNgL26WT"
}
]Observed health
- Status
- Healthy
- Latest latency
- 1289 ms
- Average latency
- 635 ms
- HTTP status
- 402
- Last checked
- Reachability
- 100% over 14 checks
Latency is measured to the first response headers. A reachable result does not verify response accuracy or merchant identity.
Input schema
{
"type": "object",
"properties": {
"type": {
"type": "string",
"const": "http"
},
"method": {
"type": "string",
"enum": [
"GET"
]
},
"queryParams": {
"type": "object",
"properties": {
"address": {
"type": "string",
"description": "ERC-20 token contract on Base mainnet (0x + 40 hex; mixed case must be a valid EIP-55 checksum). EOA → 400, non-ERC-20 contract → 422 (not charged)",
"pattern": "^0x[0-9a-fA-F]{40}$",
"examples": [
"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"
]
},
"holder": {
"type": "string",
"description": "Optional address whose token balance and share of total supply to include",
"pattern": "^0x[0-9a-fA-F]{40}$",
"examples": [
"0x6246eee0355Dd7A93C888fE59e1151388A0cC5a1"
]
},
"spender": {
"type": "string",
"description": "Optional spender; with holder, adds allowance(holder, spender). Needs holder.",
"pattern": "^0x[0-9a-fA-F]{40}$",
"examples": [
"0x000000000022D473030F116dDEE9F6B43aC78BA3"
]
}
},
"required": [
"address"
],
"additionalProperties": false
}
},
"required": [
"type",
"method"
],
"additionalProperties": false
}Output schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"input": {
"additionalProperties": false,
"properties": {
"method": {
"enum": [
"GET"
],
"type": "string"
},
"queryParams": {
"additionalProperties": false,
"properties": {
"address": {
"description": "ERC-20 token contract on Base mainnet (0x + 40 hex; mixed case must be a valid EIP-55 checksum). EOA → 400, non-ERC-20 contract → 422 (not charged)",
"examples": [
"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"
],
"pattern": "^0x[0-9a-fA-F]{40}$",
"type": "string"
},
"holder": {
"description": "Optional address whose token balance and share of total supply to include",
"examples": [
"0x6246eee0355Dd7A93C888fE59e1151388A0cC5a1"
],
"pattern": "^0x[0-9a-fA-F]{40}$",
"type": "string"
},
"spender": {
"description": "Optional spender; with holder, adds allowance(holder, spender). Needs holder.",
"examples": [
"0x000000000022D473030F116dDEE9F6B43aC78BA3"
],
"pattern": "^0x[0-9a-fA-F]{40}$",
"type": "string"
}
},
"required": [
"address"
],
"type": "object"
},
"type": {
"const": "http",
"type": "string"
}
},
"required": [
"type",
"method"
],
"type": "object"
},
"output": {
"properties": {
"example": {
"properties": {
"address": {
"type": "string"
},
"allowance": {
"properties": {
"amount": {
"type": "integer"
},
"owner": {
"type": "string"
},
"raw": {
"type": "string"
},
"spender": {
"type": "string"
},
"unlimited": {
"type": "boolean"
}
},
"type": [
"object",
"null"
]
},
"block": {
"properties": {
"number": {
"type": "integer"
},
"timestamp": {
"type": "string"
}
},
"type": "object"
},
"chain": {
"type": "string"
},
"chainId": {
"type": "integer"
},
"codeSize": {
"type": "integer"
},
"decimals": {
"type": "integer"
},
"holder": {
"properties": {
"address": {
"type": "string"
},
"balance": {
"type": "number"
},
"pctOfSupply": {
"type": [
"number",
"null"
]
},
"raw": {
"type": "string"
}
},
"type": [
"object",
"null"
]
},
"knownIssuer": {
"properties": {
"issuer": {
"type": "string"
},
"note": {
"type": "string"
}
},
"type": [
"object",
"null"
]
},
"name": {
"type": [
"string",
"null"
]
},
"note": {
"type": "string"
},
"rpc": {
"properties": {
"kind": {
"type": "string"
},
"source": {
"type": "string"
}
},
"type": "object"
},
"symbol": {
"type": [
"string",
"null"
]
},
"totalSupply": {
"properties": {
"amount": {
"type": "number"
},
"raw": {
"type": "string"
}
},
"type": "object"
}
},
"required": [
"chain",
"chainId",
"address",
"block",
"name",
"symbol",
"decimals",
"totalSupply",
"codeSize",
"knownIssuer",
"holder",
"allowance",
"rpc",
"note"
],
"type": "object"
},
"type": {
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
}
},
"required": [
"input"
],
"type": "object"
}