You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We should create a script that gives us deeper insights on our userbase. On a weekly basis we need to fetch all receipt NFTs of all pairs and calculate the following:
new addresses onboarded (= new users)
nbr of active addresses in a given period
For that we will need the following API calls:
get all alphadex trade pairs
for each trade pair:
(a) get the order receipt address
(b) fetch all receipt NFTs
(3) for each receipt -> find out who's the owner of that NFT receipt
We should create a script that gives us deeper insights on our userbase. On a weekly basis we need to fetch all receipt NFTs of all pairs and calculate the following:
For that we will need the following API calls:
(a) get the order receipt address
(b) fetch all receipt NFTs
(3) for each receipt -> find out who's the owner of that NFT receipt
Useful API calls
Thanks @Radstakes for providing those!
Get all AlphaDEX Trade Pairs:
With each component address returned, you can use this end point to find out the receipt NFT resource address:
Once you have the order receipt address, the easiest way to then find the holders of those receipts, I suggest using RadixAPI:
In the example above, I've used the floop/xrd receipt. This will return the following:
The text was updated successfully, but these errors were encountered: