We often need to traverse the chain to extract data from the transactions and events.
This has a bunch of boilerplate code, especially to do robustly.
This PR adds that scaffolding to the SDK so that in most circumstances the retrieval of data from the chain can be abstracted away, and retries are handled automatically.
The consumer can then focus on consuming the events only.
Checklist
[ ] My code follows the style of this project.
[ ] The code compiles without warnings.
[ ] I have performed a self-review of the changes.
[ ] I have documented my code, in particular the intent of the
hard-to-understand areas.
Purpose
We often need to traverse the chain to extract data from the transactions and events.
This has a bunch of boilerplate code, especially to do robustly.
This PR adds that scaffolding to the SDK so that in most circumstances the retrieval of data from the chain can be abstracted away, and retries are handled automatically.
The consumer can then focus on consuming the events only.
Checklist