TRON
walletsolidity/getassetissuebyname25 크레딧
Returns a TRC-10 asset by name (solidified state).
매개변수
| 이름 | 타입 | 설명 |
|---|---|---|
| value | string | Token name: hex of the UTF-8 bytes by default, plain text when visible is true. |
| visible | boolean | true = 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
}'