Skip to content

Latest commit

 

History

History

common

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 

Antelope Common Substream

Antelope action traces & database operations.

Quickstart

$ make
$ make run

KV

  • block.number:<number> -> BlockTimestamp
  • block.timestamp:<timestamp> -> BlockId

proto

message BlockId {
  string id = 1;
  uint64 number = 2;
}

message BlockTimestamp {
  string timestamp = 1;
}

Params

Params allow to filter messages and can be supplied to modules in the form of URL query, i.e. contract=eosio.token&action=transfer - filter eosio.token contract transfer actions.

module key description
map_transaction_traces contract filter by contract(s)
map_transaction_traces action filter by action(s)
map_transaction_traces receiver filter by receiver(s)
map_action_traces contract filter by contract(s)
map_action_traces action filter by action(s)
map_action_traces receiver filter by receiver(s)
map_db_ops contract filter by contract(s)
map_db_ops table filter by action(s)

Mermaid graph

graph TD;
  map_block_header[map: map_block_header];
  sf.antelope.type.v1.Block[source: sf.antelope.type.v1.Block] --> map_block_header;
  map_blockroot_merkle[map: map_blockroot_merkle];
  sf.antelope.type.v1.Block[source: sf.antelope.type.v1.Block] --> map_blockroot_merkle;
  map_transaction_traces[map: map_transaction_traces];
  map_transaction_traces:params[params] --> map_transaction_traces;
  sf.antelope.type.v1.Block[source: sf.antelope.type.v1.Block] --> map_transaction_traces;
  map_action_traces[map: map_action_traces];
  map_action_traces:params[params] --> map_action_traces;
  sf.antelope.type.v1.Block[source: sf.antelope.type.v1.Block] --> map_action_traces;
  map_db_ops[map: map_db_ops];
  map_db_ops:params[params] --> map_db_ops;
  sf.antelope.type.v1.Block[source: sf.antelope.type.v1.Block] --> map_db_ops;
  kv_out[map: kv_out];
  sf.substreams.v1.Clock[source: sf.substreams.v1.Clock] --> kv_out;
Loading

Modules

Package name: common
Version: v0.7.0
Doc: Antelope based action traces & database operations.
Modules:
----
Name: map_block_header
Initial block: 2
Kind: map
Output Type: proto:sf.antelope.type.v1.BlockHeader
Hash: 5d92d369cafe11d367797cb76e7596a85ac53233

Name: map_blockroot_merkle
Initial block: 2
Kind: map
Output Type: proto:sf.antelope.type.v1.BlockRootMerkle
Hash: 85da537db3ac419c47fddd4de48cd949905ffb8d

Name: map_transaction_traces
Initial block: 2
Kind: map
Output Type: proto:sf.antelope.type.v1.TransactionTraces
Hash: 5f45b71f0d9f3d6764fcaad99ec55165c886b68d

Name: map_action_traces
Initial block: 2
Kind: map
Output Type: proto:sf.antelope.type.v1.ActionTraces
Hash: e126ffb8870882e620a7d125d58eabe0cc75e1e4

Name: map_db_ops
Initial block: 2
Kind: map
Output Type: proto:sf.antelope.type.v1.DBOps
Hash: 50f1ae024c4f9536618454d7de529411c6f4f9e9

Name: kv_out
Initial block: 0
Kind: map
Output Type: proto:sf.substreams.sink.kv.v1.KVOperations
Hash: b311d8b665b19fd353e4937e9af297c72d98c08d