mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-13 12:51:05 +00:00
a30092ab42
* Add markdown linting - add linter default rules - adapt rules to current code - fix the code for linting to pass - add CI check fix #1243 * Fix markdown for Substrate * Fix tooling install * Fix workflow * Add documentation * Remove trailing spaces * Update .github/.markdownlint.yaml Co-authored-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Fix mangled markdown/lists * Fix captalization issues on known words
586 B
586 B
Chain API
The Chain API subsystem is responsible for providing a single point of access to chain state data via a set of pre-determined queries.
Protocol
Input: ChainApiMessage
Output: None
Functionality
On receipt of ChainApiMessage, answer the request and provide the response to the side-channel embedded within the
request.
Currently, the following requests are supported:
- Block hash to number
- Block hash to header
- Block weight
- Finalized block number to hash
- Last finalized block number
- Ancestors