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
Parameter | Description |
---|---|
HM_ACCESS_KEY | HyperMint Access Key |
HM_ACCESS_KEY_SECRET | HyperMint Access Key Secret |
Response
Code | Meaning |
---|---|
🟢 200: OK | Responds with an interaction ID which can be used to check the status of the transaction |
🟠 404: Not Found | Unable 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.
Updated 8 months ago