post https://rest-api.hellomoon.io/v0/nft/collection/ownership/current
NOTE: This endpoint is only callable by API keys in the following tiers:
- Business
- Developer
- Enterprise
- PremiumSharedRpc
- StarterSharedRpc
- UltimateSharedRpc
Shows number of distinct wallets that currently own an NFT in a collection
Examples
Get current owner count for a collection
const axios = require("axios");
const url = "https://rest-api.hellomoon.io/v0/nft/collection/ownership/current";
async function getCurrentOwnerCount() {
    const { data } = await axios.post(
        url,
        {
			"helloMoonCollectionId": "040de757c0d2b75dcee999ddd47689c4"
		},
        {
            headers: {
                Accept: "application/json",
                "Content-Type": "application/json",
                Authorization: "Bearer <your_token>",
            },
        }
    );
    console.log(data);
}