Query, Filter and Decode Ethereum Event Logs (as a DeFi Developer) | EthersJS
Blockman Codes Blockman Codes
7.12K subscribers
2,010 views
53

 Published On Aug 22, 2023

Get my free EthersJS cheatsheet to master Web3!
👉 https://blockman-codes.ck.page/91b29a...
------------------------------------------
Courses:
👉 Learn Uniswap V3 swap and liquidity functionality with code, using examples: https://bit.ly/3JkXYqL
------------------------------------------

Query, filtering, and decoding event logs can be a bit of a mystery.
Especially because the data is encoded, and decoding is not always straightforward.
This tutorial walks you through the entire process, from querying logs for a specific function on a specific contract, to decoding the event logs.
In the end, you'll know exactly what was logged from the transaction which emitted the event.

------------
Code:
https://gist.github.com/BlockmanCodes...

show more

Share/Embed