---
title: "Create a TRC-20 token"
method: POST
path: "/v3/tron/trc20/deploy"
tags: ["Tron - Tatum API"]
---

# Create a TRC-20 token

`POST /v3/tron/trc20/deploy`

## Request

- Base URL: `https://api.tatum.io`
- URL: `https://api.tatum.io/v3/tron/trc20/deploy`
- Auth: API key in header `x-api-key`

/v3/tron/trc20/deploy

**10 credits per API call**

Create a TRON TRC-20 capped token. A capped TRC20 token is a type of token on the TRON blockchain that has a preset limit on the total number of tokens that can be created. This limit is specified during the token creation process and cannot be exceeded. Once the limit is reached, no more tokens can be minted. This feature helps to ensure the scarcity and value of the token and can provide investors with a sense of security. It is a popular choice for fundraising, as it allows for a predetermined amount of funds to be raised through the sale of tokens, and any excess tokens that are not sold are simply not minted.

**Signing a transaction**  
When creating a TRC-20 token, you are charged a fee for the transaction, and you must sign the transaction with the private key of the blockchain address from which the fee will be deducted.

Providing the private key in the API is not a secure way of signing transactions, because the private key can be stolen or exposed. Your private keys should never leave your security perimeter. You should use the private keys only for testing a solution you are building on the **testnet** of a blockchain.

For signing transactions on the **mainnet**, we strongly recommend that you use the Tatum [Key Management System (KMS)](https://github.com/tatumio/tatum-kms) and provide the signature ID instead of the private key in the API. Alternatively, you can use the [Tatum JavaScript client](https://github.com/tatumio/tatum-js/tree/v2).

## Request body

- union
  - CreateTronTrc20Blockchain
    - `fromPrivateKey` string, required: Private key of the address, from which the TRX will be sent.
    - `recipient` string, required: Recipient address of created TRC20 tokens.
    - `name` string, required: Name of the token.
    - `symbol` string, required: Symbol of the token.
    - `totalSupply` number, required: Total supply of the tokens.
    - `decimals` number, required: Number of decimal places of the token.
  - CreateTronTrc20BlockchainKMS
    - `from` string, required: Sender address of TRON account in Base58 format.
    - `signatureId` string, uuid, required: Identifier of the private key associated in signing application. Private key, or signature Id must be present.
    - `index` number: If signatureId is mnemonic-based, this is the index to the specific address from that mnemonic.
    - `recipient` string, required: Recipient address of created TRC20 tokens.
    - `name` string, required: Name of the token.
    - `symbol` string, required: Symbol of the token.
    - `totalSupply` number, required: Total supply of the tokens.
    - `decimals` number, required: Number of decimal places of the token.

## Response `200`

OK

- union
  - TransactionHash
    - `txId` string, required: The hash (ID) of the transaction
  - SignatureId
    - `signatureId` string, uuid, required: The internal Tatum ID of the prepared transaction for Key Management Sysytem (KMS) to sign<br/>This is different from the <code>signatureId</code> parameter that you provided in the request body. The <code>signatureId</code> parameter in the request body specifies the signature ID associated with the private key in KMS.

## Other responses

- `400`: Bad Request
- `401`: Unauthorized. Not valid or inactive subscription key present in the HTTP Header.
- `403`: Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.
- `500`: Internal server error. There was an error on the server during the processing of the request.

---

[API](https://skmtc.dev/tatum/apis/blockchain.md) - [All operations](https://skmtc.dev/tatum/apis/blockchain/llms.txt) - [OpenAPI document](https://skmtc.dev/tatum/apis/blockchain/revisions/f9623a85f420?raw)
