@wharfkit/antelope - v4.0.1
    Preparing search index...

    Class PublicKey

    Interface that should be implemented by ABI serializable objects.

    Implements

    Index
    data: Bytes

    Compressed public key point.

    type: KeyType

    Type, e.g. K1

    abiName: string = 'public_key'
    • Returns the core 33-byte compressed public key data as a Uint8Array. This is suitable for cryptographic operations like verification.

      Returns Uint8Array

    • Return Antelope/EOSIO legacy (EOS<base58data>) formatted key.

      Parameters

      • prefix: string = 'EOS'

      Returns string

      If the key type isn't K1