For the complete documentation index, see llms.txt. This page is also available as Markdown.

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

Name
Type
Description

token_id*

String

token_id of the nft collection

Headers

Name
Type
Description

x-api-key*

String

The API_SECRET_KEY from the client's environment variables.

Request Body

Name
Type
Description

cid*

String

IPFS CID that has been generated through the metadata route

amount

int

Default to 1, maximum batch mint of 10.

{
    // Response
}
{
    // Response
}
{
    // Response
}

Last updated