'Is there a way from NodeJS to get Tron Blockchain transaction details?

I would need to get, passing the Transaction ID, the from/to address, the value of token transferred, and the type of token passed?

I've found so far the API from Tron Grid, i have already tried the https://api.trongrid.io/v1/transactions/TRANSACTION_ID/events' THis call returns the two wallet addresses, and the amount (uint256), but not the type of token passed. Is there any way? I also found the tronweb package, but i can't find any documentation about it.

Thank you!



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source