GetAssetIssueByName

Query a token by name, returns token info (Confirmed state).

This method will use 30 Compute Units.


Parameters

  • value - String - TRC 10 token name, default hexString

Returns

Token found with the provided Name - AssetIssueCapsule which including the following fields:

Field
Type
Description

id

string

token ID

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)

num

int32

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

precision

int32

precision

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

// Result
{
  "owner_address": "412e1934759faf93497d6742208e2e521f7043e2ff",
  "name": "62747474657374",
  "abbr": "62747474657374",
  "total_supply": 1000000000000000,
  "trx_num": 1000000,
  "precision": 6,
  "num": 1000000,
  "start_time": 1575648000000,
  "end_time": 1575734400000,
  "description": "62747474657374",
  "url": "68747470733a2f2f62746673736f7465722e726561646d652e696f2f646f63732f686f772d746f2d6765742d737461727465642d776974682d736f746572",
  "id": "1000001"
}
curl https://mainnet.tron.validationcloud.io/v1/<YOUR_API_KEY_HERE>/walletsolidity/getassetissuebyname \
    -X POST \
    -H "Content-Type: application/json" \
    -d '
{
  "value": "62747474657374"
}
'

Last updated

Was this helpful?