Expand description
Implements the Chain API Subsystem
Provides access to the chain data. Every request may return an error.
At the moment, the implementation requires Client
to implement HeaderBackend
,
we may add more bounds in the future if we will need e.g. block bodies.
Supported requests:
- Block hash to number
- Block hash to header
- Block weight (cumulative)
- Finalized block number to hash
- Last finalized block number
- Ancestors
Structs§
- The Chain API Subsystem implementation.