Package Logo
ao_solana_dex_trades_pubsub_0_0_1
ao-solana-dex-trades-pubsub-0-0-1@v0.0.1
Total Downloads
0
Published
1 months ago
Network
solana solana
Publisher
User Avatar ao-xyz

Readme

Documentation

Modules

Maps icon
Maps

map
map_trades_to_pubsub

062822be1245a0d4c3249f389365411cd10d8eea
map map_trades_to_pubsub (
tl-solana-dex-trades:map_blocksf.solana.dex.trades.v1.Output
)  -> sf.substreams.sink.pubsub.v1.Publish
substreams gui ao-solana-dex-trades-pubsub-0-0-1@v0.0.1 map_trades_to_pubsub

map
tl-solana-dex-trades:map_block

4fe165f6e26fbc6ba2f590b352102302de4cb809
substreams gui ao-solana-dex-trades-pubsub-0-0-1@v0.0.1 tl-solana-dex-trades:map_block

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

0be93a73c65aa8ec2de4b1a47209edeea493ff29
map tl-solana-dex-trades:sol:blocks_without_votes (
)  -> sf.solana.type.v1.Block
substreams gui ao-solana-dex-trades-pubsub-0-0-1@v0.0.1 tl-solana-dex-trades:sol:blocks_without_votes

map
tl-solana-dex-trades:sol:transactions_by_programid_without_votes

79983641fb21f80af202858c457165e00d9c9c9f
map tl-solana-dex-trades:sol:transactions_by_programid_without_votes (
paramsstring
)  -> sf.substreams.solana.v1.Transactions
Default param : program:4vMsoUT2BWatFweudnQM1xedRLfJgJ7hswhcpz4xgBTy
substreams gui ao-solana-dex-trades-pubsub-0-0-1@v0.0.1 tl-solana-dex-trades:sol:transactions_by_programid_without_votes

map
tl-solana-dex-trades:sol:transactions_by_programid_and_account_without_votes

8c597e45e0aacc39d15dda46cbb1babfa6e18abc
map tl-solana-dex-trades:sol:transactions_by_programid_and_account_without_votes (
paramsstring
)  -> sf.substreams.solana.v1.Transactions
Default param : program:4vMsoUT2BWatFweudnQM1xedRLfJgJ7hswhcpz4xgBTy || (account:Gnt27xtC473ZT2Mw5u8wZ68Z3gULkSTb5DuxJy7eJotD && program:FsJ3A3u2vn5cTVofAjvy6y5kwABJAqYWpe4975bi2epH)
substreams gui ao-solana-dex-trades-pubsub-0-0-1@v0.0.1 tl-solana-dex-trades:sol:transactions_by_programid_and_account_without_votes

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

0be93a73c65aa8ec2de4b1a47209edeea493ff29
map tl-solana-dex-trades:sol:v020:blocks_without_votes (
)  -> sf.solana.type.v1.Block

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.

substreams gui ao-solana-dex-trades-pubsub-0-0-1@v0.0.1 tl-solana-dex-trades:sol:v020:blocks_without_votes

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

ccc3362e519a9eec745093ac483c80abe0134109
map tl-solana-dex-trades:sol:v020:filtered_transactions_without_votes (
paramsstring
)  -> sol.transactions.v1.Transactions
Default param : program:TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA

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.

substreams gui ao-solana-dex-trades-pubsub-0-0-1@v0.0.1 tl-solana-dex-trades:sol:v020:filtered_transactions_without_votes
Block Indexes icon
Block Indexes

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

811466d12743a8b02be8ba6649cfa9a24aa1af62
blockIndex tl-solana-dex-trades:sol:program_ids_without_votes (
)  -> sf.substreams.index.v1.Keys
substreams gui ao-solana-dex-trades-pubsub-0-0-1@v0.0.1 tl-solana-dex-trades:sol:program_ids_without_votes

blockIndex
tl-solana-dex-trades:sol:program_ids_and_accounts_without_votes

ec0d2eb5ebfb384b6befa8aa19f6178b853672fe
blockIndex tl-solana-dex-trades:sol:program_ids_and_accounts_without_votes (
)  -> sf.substreams.index.v1.Keys
substreams gui ao-solana-dex-trades-pubsub-0-0-1@v0.0.1 tl-solana-dex-trades:sol:program_ids_and_accounts_without_votes

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

811466d12743a8b02be8ba6649cfa9a24aa1af62
blockIndex tl-solana-dex-trades:sol:v020:program_ids_without_votes (
)  -> sf.substreams.index.v1.Keys

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
substreams gui ao-solana-dex-trades-pubsub-0-0-1@v0.0.1 tl-solana-dex-trades:sol:v020:program_ids_without_votes
Protobuf

Protobuf Docs Explorer

sf.solana.type.v1
sf.solana.dex.trades.v1
sol.instructions.v1
sol.transactions.v1