Type Alias kitchensink_runtime::Address

source ·
pub type Address = MultiAddress<AccountId, AccountIndex>;
Expand description

The address format for describing accounts.

Aliased Type§

enum Address {
    Id(AccountId32),
    Index(u32),
    Raw(Vec<u8>),
    Address32([u8; 32]),
    Address20([u8; 20]),
}

Variants§

§

Id(AccountId32)

It’s an account ID (pubkey).

§

Index(u32)

It’s an account index.

§

Raw(Vec<u8>)

It’s some arbitrary raw bytes.

§

Address32([u8; 32])

It’s a 32 byte representation.

§

Address20([u8; 20])

It’s a 20 byte representation.