getassetissuebyname - Tron

getassetissuebyname. Returns TRC10 token details by its token name.

getassetissuebyname - tron [Value: 20CU]
Returns TRC10 token details by its token name.
Use cases

Use cases

  • Also available as GET
  • Resolve a TRC10 token's asset ID starting only from its known name
Constraints

Constraints

  • Fails with an error if multiple tokens share the same name; use getassetissuelistbyname instead
  • Also available under /walletsolidity/ for confirmed (solidified) data instead of the latest state
Get started
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/getassetissuebyname \
     --header 'accept: application/json' \
     --header 'content-type: application/json' \
     --data '{"value": "example"}'
Copy
Response
200
{
  "assetIssue": [
    {
      "owner_address": "414607716a6ca8fe2dc8f9e27c349a435191e48639",
      "name": "54524e",
      "abbr": "544e",
      "total_supply": 100000000000000000,
      "frozen_supply": [{ "frozen_amount": 1, "frozen_days": 1 }],
      "trx_num": 1,
      "num": 1,
      "start_time": 1737613011138,
      "end_time": 2053134849000,
      "description": "74726964656e74",
      "url": "68747470733a2f2f7777772e74726964656e742e636f6d",
      "free_asset_net_limit": 20,
      "public_free_asset_net_limit": 1,
      "id": "1005415"
    },
    {
      "owner_address": "41088a2bfcb1c7271029fd69a66859d55560895884",
      "name": "54524e",
      "abbr": "544e",
      "total_supply": 100000000000000000,
      "trx_num": 1,
      "precision": 6,
      "num": 1,
      "id": "1005416"
    }
  ]
}
Copy

Request params

idinteger
jsonrpcstring
methodstring
Parametersobject
object
valuestring
[Required for GET] The TRC10 token's name

Response

200
Returns TRC10 token details by its token name.

Response params

object
assetIssuearray_of_objects
The list of TRC10 token issuance records matching the query.
object
owner_addressstring
The address of the account that issued 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 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
The denominator of the TRX-to-token exchange ratio: this many TRX buys `num` tokens during fundraising.
precisioninteger
The number of decimal places used to display this token's amounts.
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 began.
end_timeinteger
Unix timestamp, in ms, at which the token's fundraising period ends.
vote_scoreinteger
A weighting factor used internally when ranking or sorting this token, relative to others.
descriptionstring
A free-text description of the token or project, UTF-8 encoded as a hex string.
urlstring
The project's website URL, UTF-8 encoded as a hex string.
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.
idstring
The unique numeric identifier assigned to this TRC10 token on the network.