CreateAssetIssue

Issue a TRC10 token.

This method will use 30 Compute Units.


Parameters

  • owner_address - String - Owner address, default hexString

  • name - String - Token name, default hexString

  • abbr - string - Abbrieviation, default hexString

  • total_supply - int64 - Token total supply

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

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

  • start_time - int64 - ICO start time

  • end_time - int64 - ICO end time

  • description - String - Token description, default hexString

  • url - String - Token official website url, default hexString

  • free_asset_net_limit - int64 - Token free asset net limit

  • public_free_asset_net_limit - int64 - Token public free asset net limit

  • frozen_supply - json - Token frozen supply

  • precision - int32

  • visible - Boolean - Optional. Specifies whether the address is in Base58 format (default: false).

Returns

Transaction object - JSON object: Unsigned transaction, please refer to the Transaction chapter for the fields contained in it. Since the transaction type is AssetIssueContract, the fields contained in raw_data.contract[0].parameter.value in the transaction are as follows:

Field
Type
Description

owner_address

string

issuer address

name

string

token name

abbr

string

token abbr

total_supply

int64

total supply

frozen_supply

FrozenSupply[]

The number of tokens to be frozen is specified by the issuer of the token when it is issued

trx_num

int32

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

precision

int32

precision

num

int32

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

start_time

int64

ICO start time

end_time

int64

ICO end time

description

string

token description

url

string

Token official website url, default hexString

free_asset_net_limit

int64

Token free asset net limit

public_free_asset_net_limit

int64

Token public free asset net limit for a account

public_free_asset_net_usage

int64

The total number of token free bandwidth used by all token owner

public_latest_free_net_time

int64

The timestamp of the last consumption of this token's free bandwidth

Last updated

Was this helpful?