End-of-Lesson Summary
You have learned that
VET is a native token, not a smart contract token.
Use
thor.logs.filterTransferLogsto find VET movements.Filtering can be done via
sender,recipient, andtxOrigin.Amounts are in wei (18 decimals); use
BigIntto decode them.
Congratulations! You can now explain why VET tracking is unique and how to implement a native filter to build analytics tools like transaction heatmaps.
Now that you can track native VET, are you ready to track the ecosystem's newest tokens? Next up: Reading B3TR balances for the VeBetterDAO! 🚀
Join our Telegram