PreciosGitHubPanel

TRON

walletsolidity/getassetissuebyname25 créditos

Returns a TRC-10 asset by name (solidified state).

Red: tron

Parámetros

NombreTipoDescripción
valuestringToken name: hex of the UTF-8 bytes by default, plain text when visible is true.
visiblebooleantrue = base58 addresses and readable text (token name, abbr, description, url); false (default) = hex. (opcional)

Valor devuelto

Tipo

Object

TRC-10 token object: id, owner_address, name, abbr, total_supply, frozen_supply, trx_num, precision, num, start_time, end_time, order, vote_score, description, url, free_asset_net_limit, public_free_asset_net_limit, public_free_asset_net_usage, public_latest_free_net_time. {} when there is no match; an Error string when the name is not unique.

Ejemplos de código

curl 'https://holy-burned-sky-tron-mainnet.rpcnode.dev/7c9e6679-7425-40de-944b-e07fc1f90ae7/walletsolidity/getassetissuebyname' \
  -X POST \
  -H 'content-type: application/json' \
  -d '{
  "value": "TokenName",
  "visible": true
}'