đĒFarcaster
Learn how to use Airstack to universally resolve and reverse resolve Farcaster name or ID to other web3 identities (ENS, Ethereum address, Solana address).
Airstack provides easy-to-use APIs for enriching Farcaster applications and for integrating on-chain (Optimism) and off-chain (Farcaster hubs) data from Farcaster.
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 Farcaster profiles of a given Solana address
You can resolve Solana address to get all the Farcaster profiles owned by the given Solana address by using the Socials
API:
Try Demo
Code
Get All Solana addresses of Farcaster user
You can resolve a Farcaster user to their Solana addresses by using Socials
API:
Try Demo
Code
Get Farcaster Accounts Of ENS Domain(s)
You can resolve ENS domain(s) to their Farcaster accounts by using Socials
API:
Try Demo
Code
Get the Ethereum addresses and ENS from a given Farcaster username(s)
Try Demo
Code
Developer Support
If you have any questions or need help regarding resolving Farcaster user(s), please join our Airstack's Telegram group.
More Resources
Last updated
Was this helpful?