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§

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

The output of the Hashing function.

The account ID type.

The address type.

The signature type.

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

The block header.

This type defines the extrinsic extra and additional parameters.

Implementors§