21 min read
Overview
Creating an end-to-end data pipeline for blockchain data can be complex. This is where Streams comes to assist. Streams is a real-time blockchain data solution that allows users to retrieve historical and real-time blockchain data to several destinations (e.g., Webhook, PostgreSQL, Snowflake, etc.). Not only can Streams get you blockchain data to where you need it, but you can also filter the data you receive before it reaches your destination, preventing you from parsing or paying for unwanted data.
In this guide, we will show you how to utilize Streams to retrieve real-time blockchain data and Filters to selectively parse the data you need and send it to your Webhook destination. We'll showcase this by filtering swaps on Uniswap V3 and aggregating them into a single JSON file. This is particularly effective for Streams with a specified starting and ending block, combining all the receipts into one file.
What You Will Do
- Create a Stream on QuickNode
- Filter incoming Stream data and send it to the Webhook destination
- Aggregate Uniswap V3 swaps from your Webhook destination into a JSON file