Package Logo
test
test@v0.1.0
Total Downloads
0
Published
4 weeks ago
Network
starknet-testnet starknet-testnet
Publisher
User Avatar briansinw3b

Readme

test Substreams modules

This package was initialized via substreams init, using the starknet-events 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_events

This module filters certain StarkNet events specified by the params.

Documentation

Modules

Maps icon
Maps

map
map_metaslug_weapon_events

623aee0b6483b77356a6aae70e0f1a344f101e59
map map_metaslug_weapon_events (
starknet:filtered_transactionssf.substreams.starknet.type.v1.Transactions
)  -> starknet.v1.Events
substreams gui test@v0.1.0 map_metaslug_weapon_events

map
map_metalslug_chest_events

b316e542919da7d6679a43ff8174435c61ed631f
substreams gui test@v0.1.0 map_metalslug_chest_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 test@v0.1.0 starknet:all_transactions

map
starknet:filtered_transactions

49ec7950e97ec2f6a4a4dd48628038b4d64d51c8
Default param : ev:from_address:0x0460b03a1cdd1fea6ea53f3098c1753397ef76bbcd3fab0c10706d9ef50ef7af || ev:from_address:0x015744b591062438dbbf5d13a560576834611c8c9b90a4d35c67a23c9f6d97a4

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 test@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 test@v0.1.0 starknet:index_transactions
Protobuf

Protobuf Docs Explorer

sf.starknet.type.v1
starknet.v1