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

    Interface PrivateKeyInstance

    interface PrivateKeyInstance {
        base58: string;
        bytes: ArrayBufferLike;
        hex: Lowercase<string>;
        keccak256: ArrayBufferLike;
        public: PublicKeyInstance;
        sign: (hash: ArrayBufferLike) => ArrayBufferLike | Promise<ArrayBufferLike>;
        verify: (
            msg: ArrayBufferLike,
            signature: ArrayBufferLike,
        ) => boolean | Promise<boolean>;
    }

    Hierarchy

    • EllipticKeyInstance
      • PrivateKeyInstance
    Index

    Properties

    base58: string
    bytes: ArrayBufferLike
    hex: Lowercase<string>
    keccak256: ArrayBufferLike
    sign: (hash: ArrayBufferLike) => ArrayBufferLike | Promise<ArrayBufferLike>
    verify: (
        msg: ArrayBufferLike,
        signature: ArrayBufferLike,
    ) => boolean | Promise<boolean>