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, EcdsaTag)>),
}

Variants§

§

Ed25519(CryptoBytes<64, (SignatureTag, Ed25519Tag)>)

An Ed25519 signature.

§

Sr25519(CryptoBytes<64, (SignatureTag, Sr25519Tag)>)

An Sr25519 signature.

§

Ecdsa(CryptoBytes<65, (SignatureTag, EcdsaTag)>)

An ECDSA/SECP256k1 signature.