GET: Mints of Contract

This endpoint allows you to get all of the mints from a contract and also optionally filter these by address too. The address represents the initial address that the token was minted to.

🚧

The address of the mint returned in this endpoint will not be a true representation of who owns the associated token on chain after it has been transferred. You can use the GET: Owned Tokens endpoint to see a true on chain representation of who owns the token

https://api.hypermint.com/v1/nft-contract/:contractId/mints?address=:address

Mints of Contract

Gets the status of the mints from a specified contract address.

Parameters

Header

ParameterDescription
HM_ACCESS_KEYHyperMint Access Key
HM_ACCESS_KEY_SECRETHyperMint Access Key Secret

Responses

CodeMeaning
🟢 200: OKReturns contract information which can be used to track the status or populate storefronts
🟠 404: Not FoundUnable to find details for the give contract ID
export interface MintStatusResponse {
    {
        id: string;
        status: NetworkInteractionStatus;
        statusReason?: string;
        address: string;
        sentAt?: Date;
        createdAt: Date;
        updatedAt: Date;
        transactionHash?: string;
        tokens: {
            id: number;
            amount: number;
        }[];
        result?: {
            id: number;
            amount: number;
        }[];
    }[]
}

enum NetworkInteractionStatus {
    Pending = 'Pending',
    Complete = 'Complete',
    Failed = 'Failed'
}

📘

ERC-721 contracts will return the on chain token ids that were minted in the result array for the request

Feedback

Something not quite right, unclear or can't find what you are looking for? Please let us know at support.moonpay.com and we will get back to you as soon as we can.