Description: This endpoint prepares unsigned transactions for various blockchain operations. The operation is determined by the method
field in the request body. Supported methods include: newTokenization
, mintToken
, whitelist
, burnToken
, approve
, transferTo
, transferFrom
, dividendDistribution
, and newSto
.
Headers:
x-api-key
: YOUR_API_KEY
Content-Type
: application/json
Common Request Body Parameters:
method
(string): Operation to perform.signerAddress
(string): Address initiating the transaction.chainId
(string): Chain ID in hex (e.g., “aa36a7”).gasLimit
(string, optional): Optional gas limit.rpcUrl
(string, optional): Optional RPC URL.Method: newTokenization
Prepares a new tokenization transaction.
Additional Request Body Parameters:
url
(string): Token documentation URL.name
(string): Token name.symbol
(string): Token symbol (max 5 characters).tokenizerEmail
(string): The email of the tokenizer.supplyCap
(string, optional): Max token supply.preMints
(array, optional): Pre-mint configurations.initialHolders
(array, optional): Initial holder configurations.Method: mintToken
Prepares minting tokens to users.
Additional Request Body Parameters:
tokenSymbol
(string): Symbol of the token.userToMint
(array of objects): Each object includes:
email
(string)investorAddress
(string)amount
(string)needWhitelist
(boolean)Method: whitelist
Whitelists or blacklists users.
Additional Request Body Parameters:
tokenSymbol
(string): Symbol of the token.userToWhitelist
(array of objects): Each includes:
whitelistStatus
(string): “true” or “false”.investorAddress
(string)Method: burnToken
Burns tokens from the signer’s balance.
Additional Request Body Parameters:
tokenSymbol
(string): Symbol of the token.amount
(string): Amount to burn.Method: transferFrom
Transfers tokens from one address to another (with prior approval).
Additional Request Body Parameters:
tokenSymbol
(string): Symbol of the token.from
(string): Sender address.to
(string): Receiver address.amount
(string): Amount to transfer.Method: transferTo
Transfers tokens from signerAddress
to another address.
Additional Request Body Parameters:
tokenSymbol
(string): Symbol of the token.to
(string): Receiver address.amount
(string): Amount to transfer.Method: approve
Approves a spender to use tokens.
Additional Request Body Parameters:
tokenSymbol
(string): Token to approve (can include BKN, USDT, USDC).spenderAddress
(string): Address being approved.amount
(string): Allowance amount.Method: dividendDistribution
Distributes paymentToken
dividends to holders of tokenSymbol
.
Additional Request Body Parameters:
tokenSymbol
(string)amount
(string): Amount of payment token to distribute.Note: Amounts are in whole units (e.g., 10 for 10 USDT).
Method: newSto
Creates a new STO (Security Token Offering).
Additional Request Body Parameters:
tokenizerEmail
(string)tokenAmount
(string)offeringName
(string)startDate
(string)endDate
(string)acceptedCoin
(string)minRaiseUSD
(string)maxRaiseUSD
(string)minInvestment
(string)maxInvestment
(string)signerAddress
(string)Successful response
The response is of type object
.