Package Logo
starknet-invoice-substream
starknet-invoice-substream@v0.2.0
Total Downloads
616
Published
4 days ago
Publisher
User Avatar tdelabro

Readme

invoice_indexer 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_invoice_contract_events

0ac3bd75ffdc09a380e0800d520fad52ea5e499d
map map_invoice_contract_events (
starknet:filtered_transactionssf.substreams.starknet.type.v1.Transactions
)  -> invoice_contract.v1.RemittanceEvents
substreams gui starknet-invoice-substream@v0.2.0 map_invoice_contract_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-invoice-substream@v0.2.0 starknet:all_transactions

map
starknet:filtered_transactions

0eacf436b71eb4fd1b0969cb7564777dcda6b0bc
Default param : ev:from_address:0x054eb8613832317fc641555b852b0a3b4cef5cc444fccab5e3de94430fb8fcda

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-invoice-substream@v0.2.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-invoice-substream@v0.2.0 starknet:index_transactions
Protobuf

Protobuf Docs Explorer

sf.starknet.type.v1
invoice_contract.v1