Module subxt_core::config

source ·
Expand description

This module provides a Config type, which is used to define various types that are important in order to speak to a particular chain. SubstrateConfig provides a default set of these types suitable for the default Substrate node implementation, and PolkadotConfig for a Polkadot node.

Re-exports§

Modules§

  • Polkadot specific configuration
  • This module contains implementations for common signed extensions, each of which implements SignedExtension, and can be used in conjunction with AnyOf to configure the set of signed extensions which are known about when interacting with a chain.
  • Substrate specific configuration

Structs§

Traits§

  • Block hashes must conform to a bunch of things to be used in Subxt.
  • Runtime types.
  • This trait allows you to configure the “signed extra” and “additional” parameters that are a part of the transaction payload or the signer payload respectively.
  • This trait is expected to be implemented for any ExtrinsicParams, and defines how to encode the “additional” and “extra” params. Both functions are optional and will encode nothing by default.
  • This represents the hasher used by a node to hash things like block headers and extrinsics.
  • This represents the block header type used by a node.
  • Types implementing RefineParams can be modified to reflect live information from the chain.

Type Aliases§