Similarly to events() in substreams_ethereum, would be good to have corresponding methods for Antelope, so this is possible:
block.action_calls::<abi::token::actions::Transfer>("eosio.token") - produces iterator with decoded Transfer struct on all eosio.token::transfer calls in the block
block.table_changes::<abi::token::tables::Account>("eosio.token", "accounts") - produces iterator with decoded before/after Account structs on all eosio.token::accounts table changes in the block
Of course, the generated ABI module (abi::token in this case) should implement decode() methods on those structs for that to work
Lowish priority.
Similarly to events() in
substreams_ethereum
, would be good to have corresponding methods for Antelope, so this is possible:block.action_calls::<abi::token::actions::Transfer>("eosio.token")
- produces iterator with decodedTransfer
struct on alleosio.token::transfer
calls in the blockblock.table_changes::<abi::token::tables::Account>("eosio.token", "accounts")
- produces iterator with decoded before/afterAccount
structs on alleosio.token::accounts
table changes in the blockOf course, the generated ABI module (
abi::token
in this case) should implementdecode()
methods on those structs for that to work