What is Substreams?
Substreams for Solana Developers
Install the CLI
Manifest & Modules
Run a Substreams
Reference & Specs
Chains and endpoints
Substreams CLI reference
Substreams is a technology that allows you to extract blockchain data in a fast and reliable way!
How Does It Work?
The Substreams Provider
First of all, there is a Substreams provider. The Substreams provider takes care of storing blockchain data and making it available in a fast and reliable way
Apply Your Transformations
In order for the Substreams provider to know which specific data you want to retrieve, you write a Rust program that defines the transformations that you want to apply to the blockchain data.
The Substreams Package
Then, you pack your Rust program into a Substreams package.
Execution of the Package
Lastly, you send the Substreams package to the Substreams provider for execution. The Substreams provider will start streaming data back to you ultra-fast!
Consume the Data
Use one of the Substreams services to consume the extracted data (SQL, Webhooks, Stream, Subgraphs...)