Mint an Inscription

Mint an Inscription with an amount, ticker, and to address.

Mint HCS-20 Structure

This is the stucture that is used to send to the topic, this payload has been humanised to be more understandable.

{
  "p": "hcs-20",
  "op": "mint",
  "tick": "unique_point_identifier",
  "amt": "number_of_points",
  "to": "recipient_hedera_address",
  "m": "optional_memo"
}

Overview

There are 2 required fields needed to mint an inscription:

  • to

  • amount

These are the optional fields you can use:

  • topic_id (your private application for controlling all points or inscriptions)

  • memo (an additional memo at the deployment level)

POST https://hedera-serverless-consensus.vercel.app/api/inscription/{ticker}/mint

Mint an Inscription

Query Parameters

Name
Type
Description

ticker*

String

Unique ticker of the inscription

Headers

Name
Type
Description

x-api-key*

String

The API_SECRET_KEY from the client's environment variables.

Request Body

Name
Type
Description

amount*

Int

amount to mint in one transaction

topic_id

String

your private topic for limiting access

memo

String

{
    // Response
}

Last updated