Module subxt::client

source ·
Expand description

This module provides two clients that can be used to work with transactions, storage and events. The OfflineClient works entirely offline and can be passed to any function that doesn’t require network access. The OnlineClient requires network access.

Structs

Client wrapper for performing runtime updates. See OnlineClient::updater() for example usage.
A client that is capable of performing offline-only operations. Can be constructed as long as you can populate the required fields.
A client that can be used to perform API calls (that is, either those requiring an OfflineClientT or those requiring an OnlineClientT).
Stream to perform runtime upgrades.
Represents the state when a runtime upgrade occurred.

Enums

Error that can occur during upgrade.

Traits

A trait representing a client that can perform offline-only actions.
A trait representing a client that can perform online actions.

Functions

The default RPC client that’s used (based on jsonrpsee).