đResolve ENS Domains
Learn how to resolve ENS and Offchain Domains (Namestone & cb.id) to 0x address, Farcaster, and Reverse Resolution.
Table Of Contents
In this guide, you will learn how to use Airstack to:
Pre-requisites
An Airstack account
Basic knowledge of GraphQL
Get Started
JavaScript/TypeScript/Python
If you are using JavaScript/TypeScript or Python, Install the Airstack SDK:
React
Node
Then, add the following snippets to your code:
Other Programming Languages
To access the Airstack APIs in other languages, you can use https://api.airstack.xyz/gql as your GraphQL endpoint.
Get ENS and Offchain Domains (Namestone & cb.id) of user(s)
You can fetch the ENS and offchain domains (Namestone & cb.id) of user(s) by using the Domains
API and providing either the 0x address, Lens, or Farcaster to resolvedAddress
:
Try Demo
Code
Get All 0x addresses of ENS Domain(s)
You can resolve an array of ENS domain(s) to their 0x addresses:
Try Demo
Code
Get All Farcaster accounts owned by ENS
You can resolve any ENS to their Farcaster accounts, which comprise of Farcaster:
Try Demo
Code
Get the 0x address and Farcaster from a given cb.id (Offchain)
You can get the 0x address and Farcaster of cb.ids:
Try Demo
Code
Get the 0x address and Farcaster from a given Namestone Subdomain (Offchain)
You can get the 0x address and Farcaster of Namestone subdomains:
Try Demo
Code
Developer Support
If you have any questions or need help regarding resolving identities for ENS domain(s), please join our Airstack's Telegram group.
More Resources
Last updated
Was this helpful?