React
Learn how to integrate Airstack APIs to your React-based application, including both React Web and React Native, using the Airstack Web SDK.
Last updated
Was this helpful?
Learn how to integrate Airstack APIs to your React-based application, including both React Web and React Native, using the Airstack Web SDK.
Last updated
Was this helpful?
In this tutorial, you will learn how to start integrating API into your React application.
Completed
Git
Node v.16+
Use a package manager to install the into your React project:
Create a new .env
file:
Once you have initialized the SDK, you can use the useQuery
to call the Airstack API.
The data
variable will return and logged into your browser's console as follows:
Learn to build more with Airstack using our tutorials:
Resolve Identities
Wallet API Reference
Add the as the environment variable:
Add init
function from the SDK to initialize it with the :
Below you have been provided with Airstack query to fetch the 0x address and Farcaster owned by :
If you have any questions or need help regarding integrating into your React application, please join our Airstack's group.