GET: Mint Status

Returns the status of a mint.

https://api.hypermint.com/v1/nft-contract/:contractId/mint/:mintId

Mint Status

Gets the status of a mint

Parameters

Header

ParameterDescription
HM_ACCESS_KEYHyperMint Access Key
HM_ACCESS_KEY_SECRETHyperMint Access Key Secret

Response

CodeMeaning
🟒 200: OKResponds with an interaction ID which can be used to check the status of the transaction
🟠 404: Not FoundUnable to find token details for the give contract ID
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;
    }[];
    contract: {
        id: string;
    }
}

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

πŸ“˜

ERC-721 contracts will return the 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.