{"uid":"cap_326h1zZMvhqAaUqDCH4hK","slug":"skills-onesource-io-18580f33","name":"OneSource ENS Resolver","description":"ENS resolve — turn a .eth name into an address, or an address into its primary .eth name, via eth_call on OneSource live Ethereum RPC","url":"https://skills.onesource.io/api/chain/ens/swollen.eth","method":"GET","headers":{},"bodySchema":{"type":"object","properties":{"network":{"enum":["ethereum","sepolia","avax","megaeth","megaeth-testnet","base"],"type":"string","default":"ethereum","description":"Optional network selector. Defaults to 'ethereum'."}},"description":"The ENS name or Ethereum address is passed as a URL path parameter (e.g. /api/chain/ens/swollen.eth), NOT as a body or query parameter. The body can be empty or optionally include 'network'.","additionalProperties":false},"responseSchema":{"type":"object","required":["data","meta"],"properties":{"data":{"type":"object","required":["name","address","resolver","is_forward","is_reverse"],"properties":{"name":{"type":"string"},"address":{"type":"string"},"resolver":{"type":"string"},"is_forward":{"type":"boolean"},"is_reverse":{"type":"boolean"}}},"meta":{"type":"object","required":["endpoint","request_id"],"properties":{"endpoint":{"type":"string"},"request_id":{"type":"string"}}}}},"example":{"request":{},"response":{"data":{"name":"swollen.eth","address":"0xd00ae6f9eb43e90e2c6468ab9a9faa7e4e9ec6d2","resolver":"0x4976fb03c32e5b8cfe2b6ccb31c09ba78ebaba41","is_forward":true,"is_reverse":false},"meta":{"endpoint":"/api/chain/ens/swollen.eth","request_id":"192fbee4caa8f2c2"}}},"exampleRequest":{},"tags":["x402"],"displayCostAmount":"0.005000","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"settled","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.005000/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_1eqotUop_eFSj1p3bfqeg","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Resolves a .eth name to its Ethereum address or an Ethereum address to its primary .eth name via live on-chain eth_call","exampleAgentPrompt":"What's the Ethereum wallet address for vitalik.eth? Use the live on-chain ENS resolver on Ethereum mainnet.","exampleUseCases":[{"title":"Verify wallet identity before payment","prompt":"I need to send funds to swollen.eth but want to double-check the actual wallet address it points to on-chain right now. Can you resolve that for me?"},{"title":"Look up ENS name from wallet","prompt":"My user just connected their wallet 0x1234567890abcdef1234567890abcdef12345678 — do they have a primary ENS name registered?"},{"title":"Cross-chain ENS resolution for airdrops","prompt":"We're distributing tokens to several .eth names on Base mainnet. Can you resolve each of those domains to their actual addresses on Base using live on-chain data?"}],"resultDescription":"Returns the resolved Ethereum address for a given .eth name, or the primary .eth ENS name for a given 0x address, fetched via a real-time eth_call against the OneSource Ethereum RPC node — including chain-related metadata.","failureModes":["ENS name not registered or expired — returns null or empty address","Address has no primary ENS name set — returns no reverse record","Invalid input format (not a valid .eth name or 0x address) — input schema validation error","Unsupported network specified — returns error for non-Ethereum networks that don't support ENS","RPC node unavailable or timeout — returns 503 or connection error","Payment not included or insufficient — returns HTTP 402 requiring x402 payment of $0.005 USDC"],"whenToPreferThis":"Choose this endpoint when you need live, authoritative on-chain ENS resolution without relying on cached third-party APIs. Ideal for forward resolution (.eth → address) or reverse resolution (address → .eth) against real Ethereum state. Prefer this over static lookup tables or indexer APIs when freshness and on-chain accuracy matter. Also supports Sepolia, Base, and other EVM-compatible networks with ENS deployments.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T12:56:49.947Z","isFirstParty":false}