To access the Airstack APIs in other languages, you can use https://api.airstack.xyz/gql as your GraphQL endpoint.
Get Everyday Rewards Split Percentage Of A User
You can get the the current percentage of how much the user, their fans, the channel fans (if any), and the Farcaster network FT holders by using the FarcasterFanTokenAuctions API and providing the user's FID in the entityId field:
{"data": {"FarcasterFanTokenAuctions": {"FarcasterFanTokenAuction": [ {"rewardDistributionPercentage": {"channelFans":20,// 20% of the rewards goes to the Fans of the Channel casted into"creator":0,// 0% of the rewards goes to the member who earned the reward"creatorFans":70,// 70% of the rewards goes to their Fans (holders of their Fan Tokens)"network":10// 10% of the rewards goes to Fans of Farcaster overall (holders of the Fan Tokens) } } ] } }}
Developer Support
If you have any questions or need help regarding fetching Everyday rewards split data, please join our Airstack's Telegram group.