Create a token

Create a token with a name, symbol, supply, and memo.

Create new token

POST https://hedera-serverless-consensus.vercel.app/api/token

This endpoint allows you to create a token with a name, symbol, supply, and memo.

The memo is an important feature to allow linking but not exclusive to: Hedera Topic IDs (dynamic NFTs), decentralised identity (DIDs), or IPFS (dStorage) images/files.

Headers

NameTypeDescription

Authentication*

string

The API_SECRET_KEY from th e client's environment variables.

Request Body

NameTypeDescription

symbol*

String

Symbol of the token

name*

String

Name of the token

supply*

Number

Number of tokens to mint, whole.

memo

String

Attached memo to a token, for linking to external content or for dynamic NFT purposes.

decimals

int

decimals of the token, if not present will default to 6.

{
    "data": {
        "name": "Matt token",
        "symbol": "MATT",
        "memo": "abc",
        "reference": "basic.fungible",
        "supply": "100",
        "supplyWithDecimals": "100000000",
        "tokenId": "0.0.2839273"
    }
}

Last updated