Files
pezkuwi-subxt/historic
James Wilson 3bbba1b005 [v0.50.0] Allow visiting extrinsic fields in subxt_historic (#2124)
* Allow visiting extrinsic fields

* fmt

* Don't use local scale-decode dep

* Clippy and tidy

* Extend 'subxt codegen' CLI to work with legacy metadatas

* Simplify historic extrinsics example now that AccountId32s have paths/names

* clippy

* clippy

* clippy..

* Allow visiting storage values, too, and clean up extrinsic visiting a little by narrowing lifetime

* Try to fix flaky test

* Add custom value decode to extrinsics example

* Remove useless else branch ra thought I needed

* Simplify examples
2025-11-21 15:32:32 +00:00
..

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.