Output
sf.substreams.cosmos.v1.TransactionList
Inputs
Package ref
injective-common@v0.1.0Run package
CLI
Run all_transactions from the command line.
substreams run injective-common@v0.1.0 all_transactions -e cosmos --start-block -1substreams auth or directly on thegraph.market (see docs).README
The Injective Foundational modules are Substreams modules extracting common data from the Injective blockchain.
The all_events module extracts only the events and provides them, along with the transaction hash and block at which it they are found.
The filtered_events module allows a reduction of the all_events output, only matching the events that match the requested type.
Use with the parameter, ex: `substreams run [...] -p filtered_events="message || injective.peggy.v1.EventDepositClaim"
The all_transactions module extracts all the transactions from the Injective blockchain, providing useful information, such as messages, signatures or events.
Some message types are parsed from their "Any" type into the the corresponding type of an enum. See ./proto/cosmos/v1/transactions.proto to see the ones that are supported. The other types will still be shown as protobuf "Any" type.
The required protobuf modules are referenced in buf.yaml.
You need a (free) API token to access https://buf.build and resolve the dependencies into a single file, generated-buf-build.binpb.
That file is then used to generate the rust protobuf bindings or to bundle the definitions in the .spkg. (it is referenced in the substreams.yaml)
make protogen
make build
You will need an API key to access the streamingfast servers, see https://substreams.streamingfast.io
This example query only fetches the events of type 'injective.peggy.v1.EventDepositClaim'
substreams run -e mainnet.injective.streamingfast.io:443 substreams.yaml filtered_events -p filtered_events='injective.peggy.v1.EventDepositClaim' -s 9600 -t 9700
make package
Modules
Output
sf.substreams.cosmos.v1.TransactionList
Inputs
Output
sf.substreams.cosmos.v1.EventList
Inputs
Output
sf.substreams.cosmos.v1.EventList
Inputs
Output
sf.substreams.index.v1.Keys
Inputs