Blockchain Commons Components TypeScript Library - v1.0.0-alpha.13
    Preparing search index...

    Interface ECKey

    An interface for elliptic curve keys that can derive a public key.

    This interface extends ECKeyBase to provide a method for deriving the corresponding compressed public key. It is implemented by both private keys (where it generates the public key) and public keys (where it may return self or convert between formats).

    interface ECKey {
        data(): Uint8Array;
        hex(): string;
        publicKey(): ECPublicKey;
    }

    Hierarchy (View Summary)

    Implemented by

    Index

    Methods