Trait subxt_core::config::Config

source ·
pub trait Config: Sized + Send + Sync + 'static {
    type Hash: BlockHash;
    type AccountId: Debug + Clone + Encode;
    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> + Sync + Send + DeserializeOwned;
    type ExtrinsicParams: ExtrinsicParams<Self>;
    type AssetId: Debug + Clone + Encode + DecodeAsType + EncodeAsType;
}
Expand description

Runtime types.

Required Associated Types§

source

type Hash: BlockHash

The output of the Hasher function.

source

type AccountId: Debug + Clone + Encode

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> + Sync + Send + DeserializeOwned

The block header.

source

type ExtrinsicParams: ExtrinsicParams<Self>

This type defines the extrinsic extra and additional parameters.

source

type AssetId: Debug + Clone + Encode + DecodeAsType + EncodeAsType

This is used to identify an asset in the ChargeAssetTxPayment signed extension.

Object Safety§

This trait is not object safe.

Implementors§