CreateAssetIssue

Issue a TRC10 token.

Body params:

  • owner_address - Owner address, default hexString

  • name - Token name, default hexString

  • abbr

  • total_supply - Token total supply

  • trx_num - Define the price by the ratio of trx_num/num(The unit of 'trx_num' is SUN)

  • num - Define the price by the ratio of trx_num/num

  • start_time - ICO start time

  • end_time - ICO end time

  • description - Token description, default hexString

  • url - Token official website url, default hexString

  • free_asset_net_limit - Token free asset net limit

  • public_free_asset_net_limit - Token public free asset net limit

  • frozen_supply - Token frozen supply

  • precision

Request

curl --request POST \
     --url https://tron.api.watchdata.io/wallet/createassetissue \
     --header 'Content-Type: application/json' \
     --data '
{
     "owner_address": "411FAFB1E96DFE4F609E2259BFAF8C77B60C535B93",
     "name": "0x6173736574497373756531353330383934333132313538",
     "abbr": "0x6162627231353330383934333132313538",
     "description": "0x4578616d706c654465736372697074696f6e",
     "url": "0x7777772e6578616d706c652e636f6d",
     "frozen_supply": {
          "frozen_amount": 1,
          "frozen_days": 2
     }
}
'

Response

{
  "Error": "class org.tron.core.exception.ContractValidateException : Start time should be not empty"
}

Last updated