đŋLens
Learn how to use Airstack to universally resolve and reverse resolve Lens handles to other web3 identities (Farcaster, ENS, Ethereum address, Solana address).
Learn how to use Airstack to universally resolve and reverse resolve Lens handles to other web3 identities (Farcaster, ENS, Ethereum address, Solana addresses). Airstack supports both Lens v1, and Lens v2 profile names in the API inputs, you can freely use stani.lens or lens/@stani.
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 Lens Profiles from a given user(s)
Try Demo
Code
Get the Ethereum address, Farcaster, and ENS from a given Lens profile(s)
Try Demo
Code
Get Lens Profiles of a given Solana address
You can fetch the Lens profiles of a given solana address by using the Socials
API:
Try Demo
Code
Get All Solana addresses of Lens profile
You can resolve a profile to their 0x addresses by using Socials
API:
Try Demo
Code
Developer Support
If you have any questions or need help regarding resolving Lens handle(s), please join our Airstack's Telegram group.
More Resources
Last updated
Was this helpful?