3 releases (breaking)

0.37.0 May 28, 2024
0.36.1 May 28, 2024
0.36.0 May 16, 2024
0.0.1 Apr 2, 2024

#6 in #subxt

Download history 53/week @ 2024-03-27 56/week @ 2024-04-03 3/week @ 2024-04-10 245/week @ 2024-05-15 397/week @ 2024-05-22 448/week @ 2024-05-29 424/week @ 2024-06-05 357/week @ 2024-06-12 595/week @ 2024-06-19 1148/week @ 2024-06-26

2,592 downloads per month
Used in 8 crates (2 directly)

Apache-2.0 OR GPL-3.0

415KB
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–21MB
~288K SLoC