5 releases (3 breaking)

0.38.0 Oct 24, 2024
0.37.1 Oct 22, 2024
0.37.0 May 28, 2024
0.36.1 May 28, 2024
0.0.1 Apr 2, 2024

#9 in #subxt

Download history 784/week @ 2024-07-18 739/week @ 2024-07-25 1057/week @ 2024-08-01 1721/week @ 2024-08-08 1859/week @ 2024-08-15 2304/week @ 2024-08-22 1791/week @ 2024-08-29 2202/week @ 2024-09-05 11710/week @ 2024-09-12 28627/week @ 2024-09-19 25907/week @ 2024-09-26 34125/week @ 2024-10-03 32081/week @ 2024-10-10 33913/week @ 2024-10-17 37351/week @ 2024-10-24 43079/week @ 2024-10-31

153,328 downloads per month
Used in 21 crates (4 directly)

Apache-2.0 OR GPL-3.0 and maybe GPL-3.0-or-later…

425KB
8K SLoC

Subxt-Core

This library provides a no-std compatible subset of functionality that subxt and subxt-signer rely on.


lib.rs:

subxt-core

A #[no_std] compatible subset of the functionality provided in the subxt crate. This contains the core logic for encoding and decoding things, but nothing related to networking.

Here's an overview of the main things exposed here:

  • blocks: decode and explore block bodies.
  • constants: access and validate the constant addresses in some metadata.
  • custom_values: access and validate the custom value addresses in some metadata.
  • metadata: decode bytes into the metadata used throughout this library.
  • storage: construct storage request payloads and decode the results you'd get back.
  • [tx]: construct and sign transactions (extrinsics).
  • runtime_api: construct runtime API request payloads and decode the results you'd get back.
  • events: decode and explore events.

Dependencies

~9–34MB
~529K SLoC