Package Logo
starknet_market_graph
starknet-market-graph@v0.1.0
Total Downloads
1
Published
3 days ago
Publisher
User Avatar NilsDelage

Readme

starknet_market_graph Substreams modules

This package was initialized via substreams init, using the starknet-events template.

Usage

substreams build
substreams auth
substreams gui       			  # Get streaming!

Optionally, you can publish your Substreams to the Substreams Registry.

substreams registry login         # Login to substreams.dev
substreams registry publish       # Publish your Substreams to substreams.dev

Modules

map_events

This module filters certain StarkNet events specified by the params.

Documentation

Modules

Maps icon
Maps

map
map_metacube_market_events

01aea420e22a244d3acc5a459c212b5a5dbc2854
map map_metacube_market_events (
starknet:filtered_transactionssf.substreams.starknet.type.v1.Transactions
)  -> starknet.v1.Events
substreams gui starknet-market-graph@v0.1.0 map_metacube_market_events

map
starknet:all_transactions

42c9d10e03e01d102bbdde8a986c49e61ecd423f

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

substreams gui starknet-market-graph@v0.1.0 starknet:all_transactions

map
starknet:filtered_transactions

3fe15fbb257b9734927775c7edb888e1470aa054
Default param : ev:from_address:0x00737095020149b92f2783c4b8eb76066724db94e4cd9f44f4e441f56baa1d3e

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)

substreams gui starknet-market-graph@v0.1.0 starknet:filtered_transactions
Block Indexes icon
Block Indexes

blockIndex
starknet:index_transactions

fdea4692eeb0f7554d153357c87c5d6d1d82f24b

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

substreams gui starknet-market-graph@v0.1.0 starknet:index_transactions
Protobuf

Protobuf Docs Explorer

sf.starknet.type.v1
starknet.v1