interface AccountInstance {
    address: Lowercase<string>;
    addressBytes: ArrayBufferLike;
    previousHash: undefined | Lowercase<string>;
    previousHashBytes: undefined | ArrayBufferLike;
    private?: PrivateKeyInstance;
    public?: PublicKeyInstance;
    sign: (
        hash: ArrayBufferLike,
        previousHash?: ArrayBufferLike,
    ) => Promise<[ArrayBufferLike, Lowercase<string>?]>;
    verify: (
        msg: ArrayBufferLike,
        signature: ArrayBufferLike,
    ) => Promise<boolean>;
}

Properties

address: Lowercase<string>
addressBytes: ArrayBufferLike
previousHash: undefined | Lowercase<string>
previousHashBytes: undefined | ArrayBufferLike
sign: (
    hash: ArrayBufferLike,
    previousHash?: ArrayBufferLike,
) => Promise<[ArrayBufferLike, Lowercase<string>?]>
verify: (msg: ArrayBufferLike, signature: ArrayBufferLike) => Promise<boolean>