All packages
ao_solana_dex_trades_pubsub_0_0_1

ao_solana_dex_trades_pubsub_0_0_1

ao-xyz
v0.0.1/0 downloads

Package ref

ao-solana-dex-trades-pubsub-0-0-1@v0.0.1

Run package

CLI

Run map_trades_to_pubsub from the command line.

substreams run ao-solana-dex-trades-pubsub-0-0-1@v0.0.1 map_trades_to_pubsub -e solana --start-block -1
Authenticate by running substreams auth or directly on thegraph.market (see docs).

Modules

Execution graph

10 modules
Show 9 dependencies
map

tl-solana-dex-trades:sol:v020:blocks_without_votes

`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.

map

tl-solana-dex-trades:sol:v020:filtered_transactions_without_votes

`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.

blockIndex

tl-solana-dex-trades:sol:v020:program_ids_without_votes

`program_ids_without_votes` creates a _cache_ to efficiently retrieve instructions based on the program ID. For example, the following sets keys for the Token program: * program:TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA

Output

sf.substreams.index.v1.Keys