getassetissuelistbyname - Tron
getassetissuelistbyname. Returns all TRC10 tokens that share a given token name.
getassetissuelistbyname - tron [Value: 20CU]
Returns all TRC10 tokens that share a given token name.
Use cases
- Disambiguate between multiple TRC10 tokens that share the same display name
Constraints
- Token names are not guaranteed unique on Tron, unlike numeric asset IDs
- Also available under /walletsolidity/ for confirmed (solidified) data instead of the latest state
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/getassetissuelistbyname \
--header 'accept: application/json' \
--header 'content-type: application/json' \
--data '{"value": "example"}'Response
200
{
"assetIssue": [
{ "id": "1000001", "name": "4d79546f6b656e", "abbr": "4d54", "total_supply": 1000000000 },
{ "id": "1000042", "name": "4d79546f6b656e", "abbr": "4d5432", "total_supply": 500000000 }
]
}Request params
idinteger
jsonrpcstring
methodstring
object
valuestring
[Required for GET] The TRC10 token name to search for
Response
200
Returns all TRC10 tokens that share a given token name.Response params
object
assetIssuearray_of_objects
All TRC10 tokens matching the given name