NFT Collection Mints

The NFT Collection Mints endpoint maps a unique Hello Moon helloMoonCollectionId to a list of on-chain mint addresses.

helloMoonCollectionId or nftMint is required to receive a successful query response.

Examples

Get mint addresses for a collection

const axios = require("axios");

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

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

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