đŸŸĒFarcaster

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

Get Farcaster from a given user(s)

query GetFarcaster($address: [Identity!]) {
  Socials(
    input: {filter: {identity: {_in: $address}, dappSlug: {_eq: farcaster_goerli}}, blockchain: ethereum}
  ) {
    Social {
      profileName
      dappName
    }
  }
}

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

query GetAddressOfFarcasters($address: [Identity!]) {
  Socials(input: {filter: {identity: {_in: $address}}, blockchain: ethereum}) {
    Social {
      userAddress
      dappName
      profileName
    }
  }
  Domains(input: {filter: {owner: {_in: $address}}, blockchain: ethereum}) {
    Domain {
      dappName
      name
    }
  }
}

Last updated

#300: add-user-details

Change request updated