substrate-archive
substrate-archive copied to clipboard
Is it possible to only index events?
AFAICT the project indexes all blocks, extrinsics and storage items. Is it possible to:
- Mix-and-match things that get indexed?
- Parse and index
frame_system::Eventsin a more structured form? (e.g. I'd like to easily query blocks that triggered a particular kind of event).
There's no way to do this yet, but it would be a feature that would be implemented alongside/after type decoding (type-decoding branch)
In the current state of archive we don't differentiate from different types of storage items, they're all just key-value pairs that are stored so nothing can really be filtered. With type-decoding we can differentiate based on the pallet an entry came from/particular transaction names/etc and it would then be trivial to allow a user to enter a set of pallets or entries they want and not index anything else