Expand description
Substrate specific configuration
Re-exports§
pub use crate::utils::AccountId32;pub use crate::utils::MultiAddress;pub use crate::utils::MultiSignature;
Structs§
- Blake
Two256 - A hasher (ie implements
Hasher) which hashes values using the blaks2_256 algorithm. - Digest
- Generic header digest. From
sp_runtime::generic::digest. - Dynamic
Hasher256 - A hasher (ie implements
Hasher) which inspects the runtime metadata to decide how to hash types, falling back to blake2_256 if the hasher information is not available. - H256
- Fixed-size uninterpreted hash type with 32 bytes (256 bits) size.
- Substrate
Header - A generic Substrate header type, adapted from
sp_runtime::generic::Header. The block number and hasher can be configured to adapt this for other nodes. - U256
- Little-endian large integer type 256-bit unsigned integer.
Enums§
- Digest
Item - Digest item that is able to encode/decode ‘system’ digest items and
provide opaque access to other items. From
sp_runtime::generic::digest. - Number
OrHex - A number type that can be serialized both as a number or a string that encodes a number in a string.
- Substrate
Config - Default set of commonly used types by Substrate runtimes.
Type Aliases§
- Consensus
Engine Id - Consensus engine unique ID. From
sp_runtime::ConsensusEngineId. - Substrate
Extrinsic Params - A struct representing the signed extra and additional parameters required to construct a transaction for the default substrate node.
- Substrate
Extrinsic Params Builder - A builder which leads to
SubstrateExtrinsicParamsbeing constructed. This is what you provide to methods likesign_and_submit().