All packages

antelope_common

Pinax
v0.4.0/155.2K downloads

Package ref

antelope-common@v0.4.0

Run package

CLI

Run filtered_transactions from the command line.

substreams run antelope-common@v0.4.0 filtered_transactions --start-block -1
Authenticate by running substreams auth or directly on thegraph.market (see docs).

README

common Antelope substreams modules to extract transactions with indexing

Use one of those optimized modules with a query string as a parameter:

  • filtered_transactions
  • filtered_actions
  • filtered_transactions_extra
  • filtered_actions_extra

The query string will be used for the blockfilter as well as the actual filtering of actions/transactions

Modules

Execution graph

8 modules
mapMain

filtered_transactions

`filtered_transactions` reads from all_transactions and applies a filter on the transactions Supported operators are: logical or `||`, logical and `&&` and parenthesis: `()` Example: `code:eosio.token && action:transfer`

Inputs

map

filtered_actions

`filtered_actions` reads from all_actions and applies a filter on the actions Supported operators are: logical or `||`, logical and `&&` and parenthesis: `()` Example: `code:eosio.token && action:transfer`

Inputs

map

filtered_actions_extra

`filtered_actions_extra` reads from all_actions and applies a filter on the actions Supported operators are: logical or `||`, logical and `&&` and parenthesis: `()` Example: `code:eosio.token && action:transfer && (data.to:myaccount || data.from:myaccount)`

Inputs

map

filtered_transactions_extra

`filtered_transactions_extra` reads from all_transactions and applies a filter on the transactions Supported operators are: logical or `||`, logical and `&&` and parenthesis: `()` Example: `code:eosio.token && action:transfer && (data.to:myaccount || data.from:myaccount)`

Inputs

blockIndex

index_actions

`index_actions` sets the following keys on the block: * Contract account code:{account} * Action action:{action} * Receiver receiver:{account}

Output

sf.substreams.index.v1.Keys

blockIndex

index_actions_extra

`index_actions_extra` sets the following keys on the block: * Contract account code:{account} * Action action:{action} * Receiver receiver:{account} * Authorized by auth:{account}[@{permission}] * Action params data.{param}:{value}

Output

sf.substreams.index.v1.Keys