Burn an Inscription

Burn an Inscription with an amount, ticker, and from address.

Burn 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": "burn",
  "tick": "unique_point_identifier",
  "amt": "number_of_points",
  "from": "recipient_hedera_address",
  "m": "optional_memo"
}

Overview

There are 2 required fields needed to burn an inscription:

  • from

  • 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}/burn

Mint an Inscription

Query Parameters

NameTypeDescription

ticker*

String

Unique ticker of the inscription

Headers

NameTypeDescription

x-api-key*

String

The API_SECRET_KEY from the client's environment variables.

Request Body

NameTypeDescription

amount*

Int

amount to mint in one transaction

topic_id

String

your private topic for limiting access

memo

String

from

String

from address to burn

{
    // Response
}

Last updated