요금GitHub대시보드

TRON

walletsolidity/getassetissuebyname25 크레딧

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

네트워크: tron

매개변수

이름타입설명
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. (선택)

반환값

타입

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.

코드 예제

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
}'