🔷ENS

Learn how to use Airstack to universally resolve and reverse resolve ENS to other web3 identities (Farcaster, Lens, Ethereum address).

Get ENS from a given user(s)

query GetENS($address: [Identity!]) {
  Domains(input: {filter: {owner: {_in: $address}}, blockchain: ethereum}) {
    Domain {
      dappName
      name
    }
  }
}

Get the Ethereum address, Lens, and Farcaster from a given ENS name(s)

query GetENS($ens: [Identity!]) {
  Socials(input: {filter: {identity: {_in: $ens}}, blockchain: ethereum}) {
    Social {
      userAddress
      dappName
      profileName
    }
  }
}

Last updated

#300: add-user-details

Change request updated