3 releases (breaking)

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

#214 in Magic Beans

Download history 108/week @ 2024-04-01 4/week @ 2024-04-08 182/week @ 2024-05-13 161/week @ 2024-05-20

343 downloads per month
Used in 3 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
~285K SLoC