Hierarchy

  • PrivateKey

Properties

data: Bytes
type: KeyType

Methods

  • Return WIF representation of this private key

    Throws

    If the key type isn't K1.

    Returns string

  • Create PrivateKey object from a string representation. Accepts WIF (5...) and Antelope/EOSIO (PVT_...) style private keys.

    Parameters

    • string: string
    • ignoreChecksumError: boolean = false

    Returns PrivateKey

Generated using TypeDoc