createassetissue - Tron
createassetissue. Issues a new TRC10 token on the Tron network.
createassetissue - tron [Value: 20CU]
Issues a new TRC10 token on the Tron network.
Use cases
- Launch a new TRC10 token with a fixed total supply
- Run a TRX-priced token sale with a defined start/end window
Constraints
- Each account can only issue one TRC10 token at a time
- The returned transaction is unsigned and must be broadcast separately
Unlock Access to 100+ chains
Boost your app's speed and reliability with dRPC - get your access API key
Language
Request
Examples
curl --request POST \
--url https://lb.drpc.live/tron/{API-KEY}/wallet/createassetissue \
--header 'accept: application/json' \
--header 'content-type: application/json' \
--data '{"owner_address": "TZ4UXDV5ZhNW7fb2AMSbgfAEZ7hWsnYS2g", "name": "example", "abbr": "example", "total_supply": 1, "trx_num": 1, "num": 1, "start_time": 1, "end_time": 1, "description": "example", "url": "example", "free_asset_net_limit": 1, "public_free_asset_net_limit": 1, "visible": true}'Response
200
{
"visible": false,
"txID": "a9c125300a5e5c6fa9490ab599b3f37db756aa1e421d883167955c91e4cfe409",
"raw_data": {
"contract": [
{
"parameter": {
"value": {
"owner_address": "41dd791d6b49e190062d650e6a23c575510d35f2f9",
"name": "44494345",
"abbr": "44494345",
"total_supply": 1000000000,
"trx_num": 1,
"num": 1,
"start_time": 1900000000000,
"end_time": 2000000000000,
"description": "44494345",
"url": "68747470733a2f2f747261782e696f"
},
"type_url": "type.googleapis.com/protocol.AssetIssueContract"
},
"type": "AssetIssueContract"
}
],
"ref_block_bytes": "275a",
"ref_block_hash": "8aeea897e90cdc79",
"expiration": 1777446138000,
"timestamp": 1777446080622
},
"raw_data_hex": "0a02275a22088aeea897e90cdc794090e1aec0dd335a8c0108061287010a2f747970652e676f6f676c65617069732e636f6d2f70726f746f636f6c2e41737365744973737565436f6e747261637412540a1541dd791d6b49e190062d650e6a23c575510d35f2f91204444943451a0444494345208094ebdc03300140014880f0cc86a6375080c0a8ca9a3aa2010444494345aa010f68747470733a2f2f747261782e696f70eea0abc0dd33"
}Request params
idinteger
jsonrpcstring
methodstring
object
owner_addressstring
[Required] The address of the account issuing this TRC10 token.
namestring
[Required] The token's display name, UTF-8 encoded as a hex string.
abbrstring
The token's ticker/abbreviation, UTF-8 encoded as a hex string.
total_supplyinteger
[Required] The total number of units of this token that will ever be issued.
frozen_supplyarray_of_objects
The portion(s) of the total supply locked up by the issuer for a fixed duration before becoming transferable.
object
frozen_amountinteger
The number of token units locked in this frozen portion.
frozen_daysinteger
The number of days this portion remains locked before it can be released.
trx_numinteger
[Required] The denominator of the TRX-to-token exchange ratio: this many TRX buys `num` tokens during fundraising.
numinteger
[Required] The numerator of the TRX-to-token exchange ratio: `trx_num` TRX buys this many tokens during fundraising.
precisioninteger
The number of decimal places used to display this token's amounts.
start_timeinteger
[Required] Unix timestamp, in ms, at which the token's fundraising period begins.
end_timeinteger
[Required] Unix timestamp, in ms, at which the token's fundraising period ends.
descriptionstring
A free-text description of the token or project, UTF-8 encoded as a hex string.
urlstring
[Required] The project's website URL, UTF-8 encoded as a hex string, limited to 256 bytes.
free_asset_net_limitinteger
The free bandwidth quota granted per account for transactions involving this token.
public_free_asset_net_limitinteger
The shared free bandwidth quota available to all accounts collectively for transactions involving this token.
Permission_idinteger
The ID of the multi-sig permission group authorizing this operation, if the issuer account uses multi-sig.
visibleboolean
Whether addresses and text fields in the request/response are formatted as Base58/UTF-8 (true) or hex (false).
Response
200
Issues a new TRC10 token on the Tron network.Response params
object
visibleboolean
Indicates whether addresses and text fields in this transaction are represented in base58/UTF-8 (true) or hex (false).
txIDstring
The unique transaction hash (transaction ID), computed as the SHA256 of raw_data.
raw_dataobject
The unsigned transaction body containing the contract instruction and blockchain reference data.
object
contractarray_of_objects
The list of contract instructions to be executed by this transaction.
object
parameterobject
The typed payload describing the specific contract call being made.
object
valueobject
The decoded fields of the contract — here, a request to issue a new TRC10 token.
object
owner_addressstring
The address of the account issuing this token, in hex format.
namestring
The token's display name, UTF-8 encoded as a hex string.
abbrstring
The token's ticker/abbreviation, UTF-8 encoded as a hex string.
total_supplyinteger
The total number of units of this token that will be issued.
trx_numinteger
The denominator of the TRX-to-token exchange ratio: this many TRX buys `num` tokens during fundraising.
numinteger
The numerator of the TRX-to-token exchange ratio: `trx_num` TRX buys this many tokens during fundraising.
start_timeinteger
Unix timestamp, in ms, at which the token's fundraising period begins.
end_timeinteger
Unix timestamp, in ms, at which the token's fundraising period ends.
descriptionstring
A free-text description of the token, UTF-8 encoded as a hex string.
urlstring
The project's website URL, UTF-8 encoded as a hex string.
type_urlstring
The fully qualified protobuf type identifier describing which contract schema `value` should be decoded with.
typestring
The human-readable name of the contract type being executed (here, AssetIssueContract).
ref_block_bytesstring
The last two bytes of the reference block number, used for transaction expiration and replay protection.
ref_block_hashstring
The last eight bytes of the reference block's hash, paired with ref_block_bytes for replay protection.
expirationinteger
Unix timestamp, in ms, after which this transaction is no longer valid and will be rejected by the network.
timestampinteger
Unix timestamp, in ms, marking when the transaction was created/signed by the client.
raw_data_hexstring
The hex-encoded serialized bytes of raw_data, used as the actual payload to sign and broadcast.