Trait subxt::config::Config

source ·
pub trait Config: 'static {
    type Index: Debug + Copy + DeserializeOwned + Into<u64>;
    type Hash: Debug + Copy + Send + Sync + Decode + AsRef<[u8]> + Serialize + DeserializeOwned + Encode + PartialEq;
    type AccountId: Debug + Clone + Serialize;
    type Address: Debug + Encode + From<Self::AccountId>;
    type Signature: Debug + Encode;
    type Hasher: Debug + Hasher<Output = Self::Hash>;
    type Header: Debug + Header<Hasher = Self::Hasher> + Send + DeserializeOwned;
    type ExtrinsicParams: ExtrinsicParams<Self::Index, Self::Hash>;
}
Expand description

Runtime types.

Required Associated Types§

source

type Index: Debug + Copy + DeserializeOwned + Into<u64>

Account index (aka nonce) type. This stores the number of previous transactions associated with a sender account.

source

type Hash: Debug + Copy + Send + Sync + Decode + AsRef<[u8]> + Serialize + DeserializeOwned + Encode + PartialEq

The output of the Hashing function.

source

type AccountId: Debug + Clone + Serialize

The account ID type.

source

type Address: Debug + Encode + From<Self::AccountId>

The address type.

source

type Signature: Debug + Encode

The signature type.

source

type Hasher: Debug + Hasher<Output = Self::Hash>

The hashing system (algorithm) being used in the runtime (e.g. Blake2).

source

type Header: Debug + Header<Hasher = Self::Hasher> + Send + DeserializeOwned

The block header.

source

type ExtrinsicParams: ExtrinsicParams<Self::Index, Self::Hash>

This type defines the extrinsic extra and additional parameters.

Implementors§