Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incorrect data in token_id field #17

Open
lutk opened this issue Nov 24, 2023 · 1 comment
Open

Incorrect data in token_id field #17

lutk opened this issue Nov 24, 2023 · 1 comment

Comments

@lutk
Copy link

lutk commented Nov 24, 2023

Hello! I make the following request:
https://api.trongrid.io/v1/accounts/TEMct8m9ojjnWA8x6AbFYphPmKbcWHixG5/transactions?max_timestamp=1698548405000&min_timestamp=1698548400000&limit=200&order_by=block_timestamp,asc

In the response, the token_id field contains the value 3566, although it should be 5f. The error is that instead of using the formula hex(value), TronGrid uses hex(hex(value)), where in this case value == "_" (TRX token).

@lutk
Copy link
Author

lutk commented Nov 24, 2023

Just compare it with the data obtained through the gettransactionbyid method of TronHttp API.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant