🔐
Trust Enterprises
  • Getting Started
  • Intro video course
    • Introduction of the Trust Enterprises project [2:16]
    • Deployment of your first Serverless client [6:29]
    • Using Postman with the Trust Enterprises API [6:33]
    • Installation of the Trust Enterprises Laravel package [7:51]
    • Basic interaction with your client with Laravel. [10:28]
  • Deployment
    • Vercel
    • Environment Variables
    • Github Actions
  • REST API
    • Overview
    • Inscriptions
      • Deploy an Inscription
      • Mint an Inscription
      • Burn an Inscription
      • Transfer an Inscription
    • NFT Ecosystem
      • Create an NFT Collection
      • Generate Metadata
      • Mint an NFT
      • Transfer an NFT
      • Claiming NFTs through Passes
    • Accounts
    • Tokens
      • Create a token
      • Bequesting a token
      • Token Holdings and Balance
    • Topics
      • Get topic info
      • Creating a new topic
      • Updating a topic
    • Consensus Messages
    • Balance
    • Status
    • Webhooks
  • The Laravel Client
    • Overview
    • Installation
    • Interacting with your client
    • Create a Marketplace
    • Manage your Inscription Flow
    • Checking account balances and sending tokens
  • Contributing
    • Local Development
      • Architecture Rationale
    • Contributing Guidelines
    • Changelog
  • Links
    • Github
    • Trust Enterprises
    • Postman Documentation
    • Hedera Network Status
    • Remote Software Development
Powered by GitBook
On this page
  • Burn HCS-20 Structure
  • Overview

Was this helpful?

  1. REST API
  2. Inscriptions

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

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

from

String

from address to burn

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

PreviousMint an InscriptionNextTransfer an Inscription

Last updated 1 year ago

Was this helpful?