20 major breaking releases
new 22.0.0 | Apr 4, 2025 |
---|---|
21.0.0 | Jan 29, 2025 |
20.0.0 | Jan 14, 2025 |
18.0.0 | Oct 1, 2024 |
0.0.0 |
|
#306 in Magic Beans
5,558 downloads per month
Used in 4 crates
(2 directly)
430KB
8K
SLoC
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
Dependencies
~95–135MB
~2.5M SLoC