GeneralAccount is a general-purpose account.

interface StakingGeneralAccount {
    allowances?: Map<Uint8Array, Uint8Array>;
    balance?: Uint8Array;
    hooks?: Map<number, StakingHookDestination>;
    nonce?: longnum;
}

Properties

allowances?: Map<Uint8Array, Uint8Array>

Allowances is the set of per-beneficiary allowances.

balance?: Uint8Array
hooks?: Map<number, StakingHookDestination>

Hooks is the set of hooks that should be invoked when specific actions happen to override common behavior.

nonce?: longnum