-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
I can't find log field with GetTransactionInfoById #6069
Comments
the transaction is failed for energy not enough, the event log is not generated |
What is the difference between energe_usage and energe_usage_total in receipt? |
energy_usage_total is the total energy usage. Breakdown:
Tron will first consume your staked or delegated energy, if not enough, it will burn TRX to pay for energy based on a dynamic energy model, energy_penalty_total is one calculated from it when you use popular token transfer. |
Any detail information about energy_penalty_total? It would be even better if a specific example could be provided. Thx. |
well it quite complex, please refer here ;) |
Hello,
https://tronscan.org/#/transaction/aebfcad791c00033b72c2287535512cfa929ef483eec25a91d3fb9113b62a3dd
https://developers.tron.network/reference/gettransactioninfobyid
This is the result after calling the above api.
I'm not sure why I can't see
log
field.❓❓❓Actually, I was going to get token amount from log data. Is there another way to approach?
Thanks
The text was updated successfully, but these errors were encountered: