---
title: "Get started with the Hedera Token Service – Part 2"
id: "16143"
type: "post"
slug: "get-started-with-the-hedera-token-service-part-2"
published_at: "2020-12-07T20:10:00+00:00"
modified_at: "2025-12-10T04:54:52+00:00"
url: "https://hedera.com/blog/get-started-with-the-hedera-token-service-part-2/"
markdown_url: "https://hedera.com/blog/get-started-with-the-hedera-token-service-part-2.md"
excerpt: "The Hedera Token Service (HTS) is used via a robust set of APIs for the configuration, minting, and management of tokens on Hedera, without needing to set up and deploy a smart contract. In Part 2 of this series, let's..."
taxonomy_category:
  - "Uncategorized"
taxonomy_post_tag:
  - "technical"
---

[Skip to content](#content)
blog

# Get started with the Hedera Token Service – Part 2

December 7, 2020

![Hedera Team](/wp-content/uploads/2025/12/HH-logo-Black.jpg)

Hedera

Hedera provides secure, scalable infrastructure for real-world decentralized applications in finance, AI, and sustainability, governed by global enterprises.

**This blog post has been updated to include the latest capabilities of the Hedera Token Service.**

****See the updated version: [Get Started with the Hedera Token Service – Part 2: KYC, Update, and Scheduled Transactions](https://www.hedera.com/blog/get-started-with-the-hedera-token-service-part-2-kyc-update-and-scheduled-transactions)****

In part 2 of getting started with HTS we’re going to discuss some of the various administration functionalities. Similar to [controlled mutability](https://hedera.com/blog/code-is-law-but-what-if-the-law-needs-to-change)
 with Hedera’s supporting services, HTS leaves decisions about these API parameters to the developers and provides ultimate flexibility to however someone would like to create their tokens.

#### Minting and burning tokens

While creating and transferring tokens at incredibly low cost and high speeds is great for a majority of use cases, like micropayments, certain applications and protocols may need more robust features. With HTS, you can easily set up the creation (minting) and deletion (burning) of new tokens (assuming that the token was created with a “supply key”). For example, when issuing a stablecoin, you may want to mint new tokens every time there is a new deposit, and subsequently, burn tokens anytime that someone converts their tokens back into fiat.

![code window background](https://hedera.com/wp-content/uploads/2025/12/CodeSnippetBackground-scaled.jpg)

Minting

Minting

```
//Mint another 1,000 tokens and freeze the unsigned transaction for manual signing
const transaction = await new TokenMintTransaction()

 .setTokenId(tokenId)

 .setAmount(1000)

 .freezeWith(client);

//Sign with the supply private key of the token 

const signTx = await transaction.sign(supplyKey);

//Submit the transaction to a Hedera network 

const txResponse = await signTx.execute(client);

//Request the receipt of the transaction

const receipt = await txResponse.getReceipt(client);

 

//Get the transaction consensus status

const transactionStatus = receipt.status;

console.log("The transaction consensus status " +transactionStatus.toString());
```

![code window background](https://hedera.com/wp-content/uploads/2025/12/CodeSnippetBackground-scaled.jpg)

Burning

Burning

```
//Burn 1,000 tokens and freeze the unsigned transaction for manual signing
const transaction = await new TokenBurnTransaction()

 .setTokenId(tokenId)

 .setAmount(1000)

 .freezeWith(client);

//Sign with the supply private key of the token 

const signTx = await transaction.sign(supplyKey);

//Submit the transaction to a Hedera network 

const txResponse = await signTx.execute(client);

//Request the receipt of the transaction

const receipt = await txResponse.getReceipt(client);

 

//Get the transaction consensus status

const transactionStatus = receipt.status;

console.log("The transaction consensus status " +transactionStatus.toString());
```

#### Deleting tokens

Sometimes tokens can be used in seasonal games, or other contexts with a predefined lifespan. In these circumstances, it’s helpful to be able to delete the token from the network entirely, and therefore remove it from everyone’s accounts. Similar to other admin functionality and Hedera’s controlled mutability, if there are no administrative keys set during the token’s creation, deletion is not possible.

![code window background](https://hedera.com/wp-content/uploads/2025/12/CodeSnippetBackground-scaled.jpg)

Deleting

deleting

```
//Create the transaction and freeze the unsigned transaction for manual signing
const transaction = await new TokenDeleteTransaction()
 .setTokenId(tokenId)
 .freezeWith(client);
//Sign with the admin private key of the token 
const signTx = await transaction.sign(adminKey);
//Submit the transaction to a Hedera network 
const txResponse = await signTx.execute(client);
//Request the receipt of the transaction
const receipt = await txResponse.getReceipt(client);
 
//Get the transaction consensus status
const transactionStatus = receipt.status;
console.log("The transaction consensus status " +transactionStatus.toString());
```

#### Updating tokens

If you create your tokens with an admin key, you’re also able to “update” that token, meaning change the metadata and characteristics of the token itself. For example, you can change the token name, symbol, or keys that are associated with its controlled mutability. You can create a token that initially has a 1 of 1 key for minting and burning, and over time, change this to a threshold or multisignature key. You can rotate the keys associated with compliance and administration, or even remove them entirely offering a more decentralized approach over time.

![code window background](https://hedera.com/wp-content/uploads/2025/12/CodeSnippetBackground-scaled.jpg)

Update

Update

```
//Create the transaction and freeze for manual signing
const transaction = await new TokenUpdateTransaction()
 .setTokenId(tokenId)
 .setTokenName("Your New Token Name")
 .freezeWith(client);

//Sign the transaction with the admin key
const signTx = await transaction.sign(adminKey);

//Submit the signed transaction to a Hedera network
const txResponse = await signTx.execute(client);

//Request the receipt of the transaction
const receipt = await txResponse.getReceipt(client);

//Get the transaction consensus status
const transactionStatus = receipt.status.toString();
console.log("The transaction consensus status is " +transactionStatus);
```

These are just a few examples of when and why it’s helpful to have Hedera’s level of controlled mutability. Being able to mint, burn, delete, and update tokens when needed – in a transparent and cryptographically provable way – opens up entirely new opportunities in the tokenization industry. In [Part 3](https://hedera.com/blog/get-started-with-the-hedera-token-service-part-3)
 of this blog series we’ll look at different types of compliance functionality offered natively and out of the box, further opening the ease of integrations with HTS.

[Back to Blog](/blog)

discover

See more articles

[View All](/blog)

![Image](https://hedera.com/wp-content/uploads/2026/09/HH600304_HCS-Article-Banner-V1-1024x576.png)

September 8, 2026

### How to unlock the full potential of HCS (and why it is not a database)

HCS gives you fair ordering, consensus timestamps, and a tamper-resistant history. Pair it with an index or a database for queries.

[Read More](https://hedera.com/blog/how-to-unlock-the-full-potential-of-hcs-and-why-it-is-not-a-database/)

![WISeKey-SpaceDev](https://hedera.com/wp-content/uploads/2026/09/WISeKey-SpaceDev-1024x576.jpg)

September 4, 2026

### Hedera Council Grows Partner Network with New Strategic and Community Partners

WISeKey joins as a Strategic Partner, bringing deep expertise in cybersecurity, digital identity, and IoT, alongside new Community Partner SpaceDev, a Latin American software company expanding Hedera’s reach and adoption

[Read More](https://hedera.com/blog/hedera-council-grows-partner-network-with-new-strategic-and-community-partners/)

![Image](https://hedera.com/wp-content/uploads/2026/08/V1-1024x576.png)

August 31, 2026

### x402 bounty on Hedera winners announced

Meet the five winners of the x402 bounty on Hedera. Each received $1,000 for open source pay-per-request builds running on Hedera testnet.

[Read More](https://hedera.com/blog/x402-bounty-on-hedera-winners-announced/)

## Ready to get started?

Discover why Hedera is the trusted institutional-grade network powering the new digital economy.

[Start Building](/start-building)

[Contact](/contact)

We use cookies to deliver the best experience on our website and to analyze traffic. By continuing to use this site, you consent to our cookie policy.

Review our [Privacy Policy](/privacy)
 to understand how Hedera collects and uses information.

Accept All CookiesAccept Necessary Cookies
