GET: Token Hosted Metadata

If you have chosen to host metadata on the HyperMint servers, this endpoint will return metadata for the token.

https://api.hypermint.com/metadata/:contractId/:tokenId

📘

Version number is not present in this URL for metadata as the endpoint is fixed

Gets Hosted Contract Metadata

Parameters

No parameters

Responses

CodeMeaning
🟢 200: OKResponds with interaction status
interface Metadata {
    name?: string;
    description?: string;
    image?: string;
    external_url?: string;
    background_color?: string;
    animation_url?: string;
    youtube_url?: 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.