tronscan / tronscan-frontend

Tronscan Frontend
https://tronscan.org
GNU Lesser General Public License v3.0
264 stars 209 forks source link

Can't fetch TRC20 & TRC721 transfers of a particular address #1593

Open HarshilMendpara opened 1 year ago

HarshilMendpara commented 1 year ago

I want to get TRC20 & TRC721 transfers of a particular address but I am getting only TRX & TRC10 transfers from below mentioned endpoint.

https://apilist.tronscan.org/api/transfer?sort=-timestamp&count=true&limit=50&token=_&start=20&address=TMuA6YqfCeX8EhbfYEg5y7S4DqzSJireY9

bbsyaya commented 1 year ago

https://apilist.tronscanapi.com/api/token_trc20/transfers?limit=20&start=0&sort=-timestamp&count=true&filterTokenValue=1&relatedAddress=TMuA6YqfCeX8EhbfYEg5y7S4DqzSJireY9

HarshilMendpara commented 1 year ago

https://apilist.tronscanapi.com/api/token_trc20/transfers?limit=20&start=0&sort=-timestamp&count=true&relatedAddress=TMuA6YqfCeX8EhbfYEg5y7S4DqzSJireY9

There are more than 400 TRC20 transfers associated with given address but only 13 of them can be fetched using this api

HannaAkerman1 commented 1 year ago

https://apilist.tronscanapi.com/api/token_trc20/transfers?limit=20&start=0&sort=-timestamp&count=true&filterTokenValue=1&relatedAddress=TMuA6YqfCeX8EhbfYEg5y7S4DqzSJireY9

When executing the proposed query, it has been observed that the obtained data does not include the commission values associated with the transfers. It is crucial to have access to the commission values in order to accurately analyze the transaction costs.

Is there a way to modify the query to include the commission values in the returned data? Alternatively, if there is an alternative approach to retrieve transfer data specific to TRC20 tokens that includes the fee values, please suggest.

Thank you