Expand description
Native chain access for the Rust SDK.
The codec/runtime modules deliberately remain transport agnostic. Client
is the small blocking JSON-RPC layer that turns their metadata-driven SCALE
primitives into pinned reads, signed submissions, receipts, and block
streams. It uses the crate’s existing rustls-backed reqwest dependency, so
the native SDK adds no second async runtime and works in ordinary Rust tests,
command-line programs, and foreign-language bindings alike.
Structs§
- Block
Header - A decoded block header.
- Block
Stream - Iterator returned by
Client::blocks. - Client
- The native Bittensor chain client.
- Dispatch
Error - A normalized dispatch failure.
semantic_codeis stable across wording changes and is suitable for branching in callers and e2e assertions. - Snapshot
- A read-only view pinned to one block hash.
- Subnet
Info - One subnet’s small, commonly used read model.
- Swap
Quote - Swap simulation returned by the runtime API.
- TxOutcome
- Inclusion/finalization result for a submitted extrinsic.