GET: Token Information

Returns information about a given token (ID) which can be used to populate sales pages. The contract id for a contract can be found on the Collection screen in the Dashboard.

https://api.hypermint.com/v1/nft-contract/:contractId/token/:tokenId

Get Token Information

Returns information for a specific token

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 NFTContractTokenResponse {
    id: number;
    supply: number;
    remaining: number;
    totalSupply: number;
    price: number;
    maxPerTransaction: number;
    tokenAddress?: string;
    metadata: {
        name?: string;
        description?: string;
        image?: string;
        animationUrl?: string;
        attributes?: MetadataAttribute[];
    }
};

interface MetadataAttribute {
    trait_type?: string;
    value?: string;
    display_type?: string;
}

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.