Back to Browse

Query, Filter and Decode Ethereum Event Logs (as a DeFi Developer) | EthersJS

2.8K views
Aug 22, 2023
6:33

Get my free EthersJS cheatsheet to master Web3! 👉 https://blockman-codes.ck.page/91b29af293 ------------------------------------------ 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/c9bd0129c71db5e3c18e327a307f367b

Download

0 formats

No download links available.

Query, Filter and Decode Ethereum Event Logs (as a DeFi Developer) | EthersJS | NatokHD