Mint an NFT

After receiving your Metadata CID you may mint an NFT, based on your collection,

Overview

Minting an NFT to a collection is simple, only a CID from IPFS is required, however you may also batch your mints in sets of 10 if they use the same CID.

GET https://hedera-serverless-consensus.vercel.app/api/nft/:token_id/mint

Mint an NFT to a collection, you may only mint in batches of 10, up to the limit of the collection.

Path Parameters

NameTypeDescription

token_id*

String

token_id of the nft collection

Headers

NameTypeDescription

x-api-key*

String

The API_SECRET_KEY from the client's environment variables.

Request Body

NameTypeDescription

cid*

String

IPFS CID that has been generated through the metadata route

amount

int

Default to 1, maximum batch mint of 10.

{
    // Response
}

Last updated