You can find answers to common Substreams questions in the FAQ documentation. If the answer you're looking for is not included, contact the StreamingFast team through Discord to get help.
What is Substreams?
Substreams is an exceptionally powerful processing engine capable of consuming streams of rich blockchain data. Substreams refines and shapes the data for painless digestion by end-user applications, such as decentralized exchanges.
Do I need Firehose to use Substreams?
Developers do not need a dedicated installation of Firehose to use Substreams. StreamingFast provides a public Firehose endpoint made available to developers.
Is it possible to use Substreams in my subgraph?
Not anymore.
Is it possible to use Substreams for production deployments?
Yes. Substreams is generally available and used in production at multiple outlets.
What's in the Substreams name?
Substreams is the name of the engine, and of the product. It is to be capitalized and kept plural. One can speak of an individual module or individual stream but in general, when speaking about the engine, you would use the word "Substreams".
Substreams and Firehose work together to index and process blockchain data. Substreams is used for transforming rich blockchain data and exposing it to the needs of application developers.
Is Substreams free?
Yes, Substreams is an open-source project and there are free (albeit rate-limited) endpoints available.
How does a developer reach the information returned from a call to Substreams from a web-based UI?
Substreams is not meant to be piped to a web UI, it’s a data transformation layer. Some sinks might expose APIs for web browsers, however, it's not the responsibility of Substreams.
Is it possible to listen for new blocks?
Specifying a stop block value of zero (0), the default enables transparent handoff from historical to real-time blocks.
StreamingFast was originally called dfuse. The company changed its name and is in the process of rebranding.
What is Sparkle?
Substreams is the successor of StreamingFast Sparkle. Substreams enables greater composability, and provides similar parallelization capabilities. Sparkle is deprecated.
Who is StreamingFast?
StreamingFast is a protocol infrastructure company providing a massively scalable architecture for streaming blockchain data. StreamingFast is one of the core developers working alongside The Graph Foundation.
Why the wasm32-unknown-unknown target?
The first unknown is the system you are compiling on, and the second is the system you are targeting.
“Compile on almost any machine, run on almost any machine.”
Why does the output show "@unknown" instead of "@type" and the decoding failed only showing "@str" and "@bytes"
Check to make sure the module's output type matches the protobuf definition. In some cases, the renamed protobuf package isn't updated in the substreams.yaml manifest file's module.output.type field, creating an incompatibility.
Can I retrieve Mempool data with Substreams?
No, it is currently NOT possible to retrieve Mempool data with Substreams.