Create Token v2

Create token on the Litecoin blockchain without symbol

Token Creation

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 except symbol.

Create Fungible Token(API reference)

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

Name
Type
Description

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

Name
Type
Description

category*

string

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 Fungible 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 or Node URL to the created wallet name and the encrypted key
const response = await liaasSdk.createFungibleTokens_v2(
    nodeUrl_or_apiAccessKey,
    wallet,
    encryptedpassphrase,
    amount,
    description,
    name,
    url,
    address,
    tokenCategory,
    isDivisible,
    subcategory,
    isMainNet = false,
  )

Last updated

Was this helpful?