Package Logo
antelope_common
antelope-common@v0.3.0
Total Downloads
49542
Published
6 months ago
Publisher
User Avatar streamingfast

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

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

Documentation

Modules

Maps icon
Maps

map
all_transactions

0a424a15dee6fecb241130e9e4e49d99ed120f05
map all_transactions (
blocksf.antelope.type.v1.Block
)  -> sf.antelope.type.v1.TransactionTraces

all_transactions reads from antelope blocks and extracts all executed transactions

substreams gui antelope-common@v0.3.0 all_transactions

map
all_actions

d2ec8abcffd6a4fe334b06c41acea54699031c31

all_actions reads from all_transactions and extracts all executed actions

substreams gui antelope-common@v0.3.0 all_actions

map
filtered_transactions

92dcae209454e09ed2dbc6f78023315a67fc641b
Default param : code:eosio.token && action:transfer

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 && (data.to:myaccount || data.from:myaccount)

substreams gui antelope-common@v0.3.0 filtered_transactions

map
filtered_actions

bbaf9604c54e9968b158e32f1651a5ee15537e6f
Default param : code:eosio.token && action:transfer

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 && (data.to:myaccount || data.from:myaccount)

substreams gui antelope-common@v0.3.0 filtered_actions
Block Indexes icon
Block Indexes

blockIndex
index_actions

fd6ae42019aafe82d03f5355f864cbab0459dfbc

index_actions sets the following keys on the block:

  • Authorized by auth:{account}[@{permission}]
  • Receiver receiver:{account}
  • Contract account code:{account}
  • Action action:{action}
  • Action params data.{param}:{value}
substreams gui antelope-common@v0.3.0 index_actions
Protobuf

Protobuf Docs Explorer

sf.antelope.type.v1