Create Token

Create token on the Litecoin blockchain

Kakr LiaaS Token Creation (API reference)

The Kakr LiaaS allows users to issue and manage a new digital asset or token that operates on the Litecoin blockchain network. With this service, users have the flexibility to define various parameters of the token, such as its name, category, total supply, and desired additional features or functionalities.

Create Fungible Token

POST /api/FungibleTokens/CreateToken-v2

A post request to create a fungible token, attach a token, store a token, and send a token on the Litecoin Blockchain

Headers

NameTypeDescription

Content-Type

application/json

Authorization*

Bearer <your API key>

API access key

wallet*

String

The wallet to hold the token

encryptedpassphrase*

String

Encrypted key of the wallet to hold the token

Usev2*

String

Value should be true or yes

Request Body

NameTypeDescription

category*

string

the category of your token, this is also the token category

description*

string

the description of the tokento be created

name*

string

Name of the Token

address*

string

address to hold the token

subcategory*

string

subsidiary category of the token

url*

string

any existing domain to be attached to the Token

amount*

long

amount of the token to be created on the blockchain

divisible*

boolean

can divisible amount of token to another address

mainnet

boolean

Create token on Mainnet or Testnet. this is false by dafault which will create on Testnet

Create Token with Javascript SDK

Liaas SDK package installation

/** 
 * Create a Token on the Litecoin Blockchain
 **/
 
//all the parameters specified here are small as all the parameters in API implementation
 //pass your API key the created wallet name and the encrypted key
const response = await liaasSdk.createFungibleTokens(
apiAccessKey,
wallet,
encryptedkey,
amount,
description,
name,
url,
address,
category,
isDivisible,
subcategory,
isMainNet);

Last updated