mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-30 09:37:24 +00:00
b13b8ec8d0
* Inject call and event types from metadata too at some block in subxt-historic * bump subxt-historic to 0.0.4 * Fix unrelated doc things to try and fix this job * Other Rust 1.90 fixes * 'Fix' Test * Try fixing clippy WASM job * Try again to get clippy wasm working * trybuild fix * trybuild fix take 2
subxt-historic
This create 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.