curl --request POST \
--url https://tron-mainnet.core.chainstack.com/95e61622bf6a8af293978377718e3b77/wallet/createassetissue \
--header 'Content-Type: application/json' \
--data '{
"owner_address": "TZ4UXDV5ZhNW7fb2AMSbgfAEZ7hWsnYS2g",
"name": "MyToken",
"abbr": "MTK",
"total_supply": 1000000000000,
"trx_num": 1,
"num": 1000,
"precision": 6,
"start_time": 1640995200000,
"end_time": 1672531200000,
"description": "A new TRC10 token for the TRON ecosystem",
"url": "https://example.com",
"free_asset_net_limit": 1000000,
"public_free_asset_net_limit": 1000000,
"frozen_supply": [
{
"frozen_amount": 123,
"frozen_days": 123
}
],
"visible": true
}'
{
"visible": true,
"txID": "<string>",
"raw_data": {
"contract": [
"<any>"
],
"ref_block_bytes": "<string>",
"ref_block_hash": "<string>",
"expiration": 123,
"timestamp": 123,
"fee_limit": 123
},
"raw_data_hex": "<string>"
}
curl --request POST \
--url https://tron-mainnet.core.chainstack.com/95e61622bf6a8af293978377718e3b77/wallet/createassetissue \
--header 'Content-Type: application/json' \
--data '{
"owner_address": "TZ4UXDV5ZhNW7fb2AMSbgfAEZ7hWsnYS2g",
"name": "MyToken",
"abbr": "MTK",
"total_supply": 1000000000000,
"trx_num": 1,
"num": 1000,
"precision": 6,
"start_time": 1640995200000,
"end_time": 1672531200000,
"description": "A new TRC10 token for the TRON ecosystem",
"url": "https://example.com",
"free_asset_net_limit": 1000000,
"public_free_asset_net_limit": 1000000,
"frozen_supply": [
{
"frozen_amount": 123,
"frozen_days": 123
}
],
"visible": true
}'
{
"visible": true,
"txID": "<string>",
"raw_data": {
"contract": [
"<any>"
],
"ref_block_bytes": "<string>",
"ref_block_hash": "<string>",
"expiration": 123,
"timestamp": 123,
"fee_limit": 123
},
"raw_data_hex": "<string>"
}
owner_address
— the address that will issue and own the tokenname
— the full name of the token (string)abbr
— the token symbol or abbreviation (string)total_supply
— the total number of tokens to be issued (integer)trx_num
— the TRX amount used in the exchange rate calculation (integer)num
— the token amount used in the exchange rate calculation (integer)precision
— the number of decimal places supported by the token (integer, 0-6)start_time
— ICO start timestamp in milliseconds (integer)end_time
— ICO end timestamp in milliseconds (integer)description
— detailed description of the token project (string)url
— official website URL for the token project (string)free_asset_net_limit
— bandwidth provided by token issuer for token operations (integer, optional)public_free_asset_net_limit
— public bandwidth limit available for this token (integer, optional)frozen_supply
— array of frozen supply configurations (optional)visible
— optional boolean parameter. When set to true
, addresses are in base58 format. Default is false
.visible
— indicates the address format used in the responsetxID
— the transaction hashraw_data
— raw transaction data including:
contract
— array containing the asset issue contractref_block_bytes
— reference block bytesref_block_hash
— reference block hashexpiration
— transaction expiration timestamptimestamp
— transaction creation timestampfee_limit
— maximum fee allowed for this transactionraw_data_hex
— hexadecimal representation of the raw transactionwallet/createassetissue
method is used for:
Unsigned TRC10 asset issue transaction
The response is of type object
.
Was this page helpful?