Oct 27, 2023

ENS Profile Image Integration

Now you can fetch ENS profile image directly from Airstack Domains API. For example implementation, check the following query and its demo:

Demo

Code

query MyQuery {
  Domains(input: {filter: {name: {_eq: "vitalik.eth"}}, blockchain: ethereum}) {
    Domain {
      tokenNft {
        contentValue {
          image { # ENS profile image link will be returned here
            extraSmall
            small
            medium
            large
            original
          }
        }
      }
    }
  }
}

Last updated