All packages
chain_streams

chain_streams

johnangwin
v1.0.0/3 downloads/Repository

Package ref

chain-streams@v1.0.0

Run package

CLI

Run filter_blocks_by_contracts from the command line.

substreams run chain-streams@v1.0.0 filter_blocks_by_contracts --start-block -1
Authenticate by running substreams auth or directly on thegraph.market (see docs).

Modules

Execution graph

1 modules
mapMain

filter_blocks_by_contracts

Filters blocks containing transactions to/from specified contract addresses. Returns standard sf.ethereum.type.v2.Block with only relevant transactions. Runtime params format: { "contracts": ["0x1234...", "0x5678..."], // Contract addresses to monitor "includeInternal": false // Include internal transactions (optional) } Note: Start block is specified in the substreams request, not in params. The filtered block contains all relevant transactions in block.transactions, so individual transaction extraction is not needed. TODO: This module needs to be implemented in Rust as part of the substreams processing logic. The current manifest is for testing the build pipeline.