This substream indexes all ERC20 transfers.
substreams gui erc20@v0.1.1 map_tranfers
all_events
gives you all the events in a block (from successful transactions), with basic block hash/number/timestamp and transaction hash
substreams gui erc20@v0.1.1 eth_common:all_events
all_calls
gives you all the calls in a block (including internal calls), with basic block hash/number/timestamp and transaction hash
substreams gui erc20@v0.1.1 eth_common:all_calls
filtered_events
reads from all_events
and applies a filter on the event addresses and signatures.
Supported operators are: logical or ||
, logical and &&
and parenthesis: ()
Addresses to match must be written as 0x-prefixed hexadecimal, lowercase, prefixed by evt_addr:
and signatures by evt_sig:
.
Example: (evt_addr:0x1234... || evt_addr:0x5678...) && evt_sig:0xdeadbeef...
substreams gui erc20@v0.1.1 eth_common:filtered_events
filtered_calls
reads from all_calls
and applies a filter on the called contract, the caller and the method 4-bytes signature
Supported operators are: logical or ||
, logical and &&
and parenthesis: ()
Addresses to match must be written as 0x-prefixed hexadecimal, lowercase, prefixed by call_to:
or call_from:
, methods by call_method:
.
Example: (call_to:0x1234... || call_from:0x1234...) && call_method:0xdeadbeef...
substreams gui erc20@v0.1.1 eth_common:filtered_calls
filtered_transactions
reads from ethereum blocks and applies a filter on the events (addresses and signatures) as well as calls (from, to and method).
Supported operators are: logical or ||
, logical and &&
and parenthesis: ()
Addresses and signatures to match must be written as 0x-prefixed hexadecimal, lowercase, prefixed by evt_addr:
, evt_sig:
, call_to:
, call_from:
or call_method:
.
Example: ((evt_addr:0x1234... || evt_addr:0x5678...) && evt_sig:0xdeadbeef...) || call_to:0x01010101...
substreams gui erc20@v0.1.1 eth_common:filtered_transactions
filtered_events_and_calls
reads from all_calls
and all_events
, then applies a filter to extract the items that interest you, based on called contract, caller, call method, event address and event signature.
Supported operators are: logical or ||
, logical and &&
and parenthesis: ()
Addresses and signatures to match must be written as 0x-prefixed hexadecimal, lowercase, prefixed by evt_addr:
, evt_sig:
, call_to:
, call_from:
or call_method:
.
Example: evt_sig:0x9bb8f83800000000000000000000000000000000000000000000000000000000 || (call_method:0xa9059cbb && call_to:0xdac17f958d2ee523a2206206994597c13d831ec7)
substreams gui erc20@v0.1.1 eth_common:filtered_events_and_calls
index_events
sets the following keys on the block:
substreams gui erc20@v0.1.1 eth_common:index_events
index_calls
sets the following keys on the block:
substreams gui erc20@v0.1.1 eth_common:index_calls
index_events_and_calls
sets the following keys on the block:
substreams gui erc20@v0.1.1 eth_common:index_events_and_calls