Farcaster NOTA Earnings
Learn how to fetch Farcaster NOTA earnings from different Farcaster users and channels. In addition, learn how to sort by the earnings to get the top earners of NOTA.
Last updated
Was this helpful?
Learn how to fetch Farcaster NOTA earnings from different Farcaster users and channels. In addition, learn how to sort by the earnings to get the top earners of NOTA.
Last updated
Was this helpful?
An account
Basic knowledge of GraphQL
Read
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
You can fetch the NOTA earnings for a certain user by specifying entityType
as USER
and add the FID of the user in entityId
:
You can fetch the NOTA earnings for a certain channel by specifying entityType
as CHANNEL
and add the channel ID in entityId
:
You can fetch the top NOTA earners by specifying order.allEarnings
to DESC
:
To access the Airstack APIs in other languages, you can use as your GraphQL endpoint.
If you have any questions or need help regarding fetching NOTA earnings data, please join our Airstack's group.