All packages
starknet_foundational

starknet_foundational

StreamingFast
v0.1.4/6.1K downloads

Package ref

starknet-foundational@v0.1.4

Run package

CLI

Run filtered_transactions from the command line.

substreams run starknet-foundational@v0.1.4 filtered_transactions -e starknet --start-block -1
Authenticate by running substreams auth or directly on thegraph.market (see docs).

README

Foundational Substreams

This Substreams will contain all the modules for the Foundation of Starknet.

substreams build
substreams auth
substreams gui

For more information on contributing, refer to CONTRIBUTING.md.

Modules

Execution graph

3 modules
mapMain

filtered_transactions

`filtered_transactions` reads from `all_transactions` and applies a filter on keys, only outputting the transactions that match the filter. Example usage: `(tx:class_hash:0x0000000 && rc:type:0)`

Output

sf.substreams.starknet.type.v1.Transactions

Inputs

map

all_transactions

`all_transaction` reads from the `sf.starknet.type.v1.Block` source and outputs a list of all transactions in the block.

Output

sf.substreams.starknet.type.v1.Transactions

blockIndex

index_transactions

`index_events` sets the keys corresponding to all event 'types' and 'attribute keys' in the block

Output

sf.substreams.index.v1.Keys