Collection Top Holders

Shows the wallets that currently own NFTs in a collection and the amount of NFTs in a collection that they own

Examples

Get top holders for a collection

const axios = require("axios");

const url = "https://rest-api.hellomoon.io/v0/nft/collection/ownership/top-holders";

async function getTopHolders() {
    const { data } = await axios.post(
        url,
        {
			"helloMoonCollectionId": "040de757c0d2b75dcee999ddd47689c4"
		},
        {
            headers: {
                Accept: "application/json",
                "Content-Type": "application/json",
                Authorization: "Bearer <your_token>",
            },
        }
    );

    console.log(data);
}
Language
Credentials
Bearer
JWT
Click Try It! to start a request and see the response here!