listexchanges api return body first_token_id, second_token_id not match trc10 token id
Closed this issue · 2 comments
0xbigapple commented
- query https://api.trongrid.io/wallet/listexchanges, I got
- query getassetissuebyid by first_token_id, but return null.
endiaoekoe commented
@0xbigapple
try 'getassetissuebyname' instead of getassetissuebyid ,here is the scrips:
curl -i -X POST \
-H "Content-Type:application/json" \
-d \
'{
"value": "31303035303338"
}' \
'https://api.trongrid.io/wallet/getassetissuebyname'
0xbigapple commented
@0xbigapple try 'getassetissuebyname' instead of getassetissuebyid ,here is the scrips:
curl -i -X POST \ -H "Content-Type:application/json" \ -d \ '{ "value": "31303035303338" }' \ 'https://api.trongrid.io/wallet/getassetissuebyname'
"31303035303338" is hexstring, when I add 'visible=true' param, It works.
https://api.trongrid.io/wallet/listexchanges?visible=true
thanks!