core icon indicating copy to clipboard operation
core copied to clipboard

[Feature] Allow deserializing ethabi decoded events dynamically

Open KaiserKarel opened this issue 1 year ago • 0 comments

Component

json-abi

Describe the feature you would like

It would be great if the json-abi could be used for programs that load abis during runtime to deserialize events into JSON or other structures. Something like

Event::parser(events).parse::<T: Deserialize>(bytes);

This is useful for indexers and database usage.

Additional context

No response

KaiserKarel avatar Feb 29 '24 20:02 KaiserKarel