The Source component connects to SQD Portal and streams blockchain data to your pipeline. It’s the starting point for all Pipes SDK data flows.
evmPortalSource
Create a Portal source for EVM chains.portal: Portal API URL or config object- String:
"https://portal.sqd.dev/datasets/ethereum-mainnet" - Object:
{ url: string, finalized?: boolean }
- String:
query: EvmQueryBuilder instance (optional)cursor: Resume from block{ number: number }(optional)cache: Portal cache instance (optional)logger: Logger instance orfalse/'silent'to disable logging (optional)metrics: MetricsServer for monitoring (optional)progress: ProgressTrackerOptions for progress tracking (optional)
Finalized Blocks
You can configure the source to only receive finalized blocks:Set
logger: false or logger: 'silent' to disable logging in the Portal source. Useful when integrating into applications with custom logging.Pipe Methods
Methods for chaining transformers and connecting to targets.pipe
Chain a single transformer to the source.pipeComposite
Chain multiple transformers that run in parallel.pipeTo
Connect the pipeline to a target (terminal operation).pipeTo is a terminal operation. You cannot continue piping after calling this method.
