Inputs
kohei_solana_dex_trades
Package ref
kohei-solana-dex-trades@v1.1.2Run package
CLI
Run map_block from the command line.
substreams run kohei-solana-dex-trades@v1.1.2 map_block -e solana --start-block -1substreams auth or directly on thegraph.market (see docs).README
Substreams
Substreams is a powerful blockchain indexing technology, developed for The Graph Network.
Substreams enables developers to write Rust modules, composing data streams alongside the community, and provides extremely high performance indexing by virtue of parallelization, in a streaming-first fashion.
Substreams has all the benefits of StreamingFast Firehose, like low-cost caching and archiving of blockchain data, high throughput processing, and cursor-based reorgs handling.
Documentation
Full documentation for installing, running and working with Substreams is available at: https://substreams.streamingfast.io.
Contributing
Please first refer to the general StreamingFast contribution guide, if you wish to contribute to this code base.
License
Modules
Execution graph
Show 8 dependencies
Output
sf.solana.type.v1.BlockInputs
Output
sf.substreams.index.v1.Keys
Inputs
Output
sf.substreams.index.v1.Keys
Output
sf.substreams.solana.v1.Transactions
Inputs
Output
sf.substreams.solana.v1.Transactions
Inputs
`blocks_without_votes` allows you to consume a full Solana Block without Vote instructions (`Vote111111111111111111111111111111111111111`). If you consume it on HISTORICAL data (+1000 blocks from HEAD), you will be reading from the StreamingFast cache, thus saving costs on the amount of TB read.
Output
sf.solana.type.v1.BlockInputs
`filtered_transactions_without_votes` allows you to consume transactions containing instructions from specific program_id based on a filter string. Supported operators are: logical or `||`, logical and `&&` and parenthesis: `()`. Example: to only consume TRANSACTIONS containing Token or ComputeBudget instructions: `program:TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA || program:ComputeBudget111111111111111111111111111111`. Transactions containing `Vote111111111111111111111111111111111111111` are always excluded.
Inputs
Output
sf.substreams.index.v1.Keys