Use when an agent must send funds to an ENS name or label a wallet
Use when an agent must send funds to an ENS name or label a wallet. Input: name (e.g. ens.eth, ENSIP-15 normalized) or address. Output: JSON resolve: address, resolver, avatar/url/description/twitter/github records, contenthash (name+address: matchesExpected); reverse: primary name only if forward-verified. Ethereum mainnet registry; wildcard/offchain resolvers not followed. Example: ?name=ens.eth
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/ens
| Category | Image and media |
|---|---|
| Provider host | 1gateway.dev |
| Networks | eip155:137, eip155:143, eip155:42161, eip155:8453, solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp |
| Payment schemes | exact |
| Self-reported calls, 30 days | 3 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": {
"address": "0xFe89cc7aBB2C4183683ab71653C4cdc9B02D44b7",
"name": "ens.eth"
},
"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": {
"address": {
"description": "Alone: reverse lookup (primary name). With name: also check the name resolves to this address (matc\u2026",
"maxLength": 42,
"pattern": "^0x[0-9a-fA-F]{40}$",
"type": "string"
},
"name": {
"description": "ENS name to resolve (normalized with ENSIP-15; invalid \u2192 400 before payment, not charged)",
"maxLength": 255,
"type": "string"
}
},
"required": [],
"type": "object"
},
"type": {
"const": "http",
"type": "string"
}
},
"required": [
"type",
"method"
],
"type": "object"
},
"output": {
"properties": {
"example": {
"additionalProperties": true,
"properties": {
"address": {
"type": "string"
},
"chain": {
"type": "string"
},
"chainId": {
"type": "integer"
},
"contenthash": {
"type": "string"
},
"found": {
"type": "boolean"
},
"mode": {
"type": "string"
},
"name": {
"type": "string"
},
"namehash": {
"type": "string"
},
"records": {
"additionalProperties": true,
"properties": {
"avatar": {
"type": "string"
},
"com.github": {
"type": "string"
},
"com.twitter": {
"type": "string"
},
"url": {
"type": "string"
}
},
"type": "object"
},
"resolver": {
"type": "string"
}
},
"required": [
"mode",
"chain",
"chainId",
"address",
"records"
],
"type": "object"
},
"type": {
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
}
},
"required": [
"input"
],
"type": "object"
}