Package Logo
sm_sol_explorer
sm-sol-explorer@v0.1.0
Total Downloads
138
Published
2 weeks ago
Network
solana solana
Publisher
User Avatar dicksonoche

Readme

sm_sol_explorer Substreams modules

This package was initialized via substreams init, using the sol-minimal template.

Usage

substreams build
substreams auth
substreams gui       			  # Get streaming!
substreams registry login         # Login to substreams.dev
substreams registry publish       # Publish your Substreams to substreams.dev

Modules

map_filtered_transactions

This module retrieves Solana transactions filtered by one or several Program IDs. You will only receive transactions containing the specified Program IDs).

NOTE: Transactions containing voting instructions will NOT be present.

Documentation

Modules

Maps icon
Maps

map
map_block

3bd1fee2464d593c85d4a39056dfa6d371f0ab87
map map_block (
blocksf.solana.type.v1.Block
)  -> sf.solana.type.v1.Block
substreams gui sm-sol-explorer@v0.1.0 map_block

map
sol_explorer:map_block_full

f8d6fd2dd51631bc81f8bebba34f17305556d890
map sol_explorer:map_block_full (
)  -> sf.solana.type.v1.Block

map_block_full allows you to view a complete block, as received by a Substreams module

substreams gui sm-sol-explorer@v0.1.0 sol_explorer:map_block_full

map
sol_explorer:map_block_without_votes

589175ddad2653397b6bc382195d26082e4bfa35
map sol_explorer:map_block_without_votes (
)  -> sf.solana.type.v1.Block
substreams gui sm-sol-explorer@v0.1.0 sol_explorer:map_block_without_votes

map
sol_explorer:map_block_meta

cd4112d2722c7ae307a95a722a812add57279380
map sol_explorer:map_block_meta (
)  -> sol.block.v1.BlockMeta

map_block_meta allows you to view a basic information about a block

substreams gui sm-sol-explorer@v0.1.0 sol_explorer:map_block_meta

map
sol_explorer:map_filter_instructions

272823cedd4409ee91a155e97cf5c302ce239fd4
map sol_explorer:map_filter_instructions (
paramsstring
)  -> sol.transactions.v1.Instructions
Default param : program_id=Stake11111111111111111111111111111111111111

map_filter_instructions allows you to get instructions executed by a certain program_id, and returns the raw Instruction data model.

substreams gui sm-sol-explorer@v0.1.0 sol_explorer:map_filter_instructions

map
sol_explorer:map_filter_transactions

b122b8cc651815bb7cf22ed5e95d4cf6210ed390
map sol_explorer:map_filter_transactions (
paramsstring
)  -> sol.transactions.v1.Transactions
Default param : signature=21ED2HBGuLUwgbaBb77cGwFR8MkVQfjR9KszzCb7jZkeSysJkHAVew6RaaBh3r1zTefpdq9Kf5geFp19P3nUXB3t

map_filter_transaction allows you to find a transaction by hash. You need to scope your search to the blocks you know you are going to find that transaction. Check with your preferred block explorer first.

substreams gui sm-sol-explorer@v0.1.0 sol_explorer:map_filter_transactions
Protobuf

Protobuf Docs Explorer

sol.block.v1
sol.transactions.v1
sf.solana.type.v1