Properties

data: Bytes
type: KeyType

Methods

  • Return WIF representation of this private key

    Returns string

    Throws

    If the key type isn't K1/EM.

  • 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