XYO Platform SDK - v3.10.6
    Preparing search index...

    Interface AccountInstance

    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>;
    }

    Hierarchy (View Summary)

    Implemented by

    Index

    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>