post https://rest-api.hellomoon.io/v0/nft/collection/ownership/historical
Distinct wallets that own one or more NFTs in a collection over time
Examples
Get daily count of distinct owners
const axios = require("axios");
const url = "https://rest-api.hellomoon.io/v0/nft/collection/ownership/historical";
async function getDailyCount() {
const { data } = await axios.post(
url,
{
"helloMoonCollectionId": "040de757c0d2b75dcee999ddd47689c4",
"limit": 10
},
{
headers: {
Accept: "application/json",
"Content-Type": "application/json",
Authorization: "Bearer <your_token>",
},
}
);
console.log(data);
}