Type Alias Signature
pub type Signature = MultiSignature;Expand description
Alias to type for a signature for a transaction on the relay chain. This allows one of several kinds of underlying crypto to be used, so isn’t a fixed size when encoded.
Aliased Type§
enum Signature {
Ed25519(CryptoBytes<64, (SignatureTag, Ed25519Tag)>),
Sr25519(CryptoBytes<64, (SignatureTag, Sr25519Tag)>),
Ecdsa(CryptoBytes<65, (SignatureTag, CryptoBytes<33, (PublicTag, EcdsaTag)>)>),
Eth(CryptoBytes<65, (SignatureTag, CryptoBytes<33, (PublicTag, EcdsaKeccakTag)>)>),
}Variants§
Ed25519(CryptoBytes<64, (SignatureTag, Ed25519Tag)>)
An Ed25519 signature.
Sr25519(CryptoBytes<64, (SignatureTag, Sr25519Tag)>)
An Sr25519 signature.
Ecdsa(CryptoBytes<65, (SignatureTag, CryptoBytes<33, (PublicTag, EcdsaTag)>)>)
An ECDSA/SECP256k1 signature.
Eth(CryptoBytes<65, (SignatureTag, CryptoBytes<33, (PublicTag, EcdsaKeccakTag)>)>)
An ECDSA/SECP256k1 signature but with a different address derivation.