mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-21 23:48:02 +00:00
b8ee6a084f
- Renamed all crate names from subxt-* to pezkuwi-subxt-* - Updated codegen to use pezsp_runtime, pezsp_core, pezframe_support instead of sp_runtime, sp_core, frame_support - Replaced all internal references from subxt_* to pezkuwi_subxt_* - Added local path dependencies to Pezkuwi SDK crates - Updated workspace configuration for edition 2024
subxt-historic
This crate is a work in progress and currently is released only as a preview.
While subxt is a library for working at the head of a chain (submitting transactions and obtaining the current state), subxt-historic is a library for decoding blocks and state that are anywhere in a chain. To broadly summarize the differences:
| Feature | subxt | subxt-historic |
|---|---|---|
| Block access | Head of chain | Any block in chain |
| Connection to chain | Light client or RPC node | Archive RPC nodes only |
| Transaction submission | Yes | No |
| Metadata compatibility | V14 and newer | Any version |
Examples
See the examples folder for examples of how to use subxt-historic.