tronprotocol/java-tron

listexchanges api return body first_token_id, second_token_id not match trc10 token id

Closed this issue · 2 comments

  1. query https://api.trongrid.io/wallet/listexchanges, I got
image
  1. query getassetissuebyid by first_token_id, but return null.
image

@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 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

image

thanks!