Interface that should be implemented by ABI serializable objects.

Hierarchy

  • PublicKey

Implements

Properties

data: Bytes

Compressed public key point.

type: KeyType

Type, e.g. K1

abiName: string = 'public_key'

Methods

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

    Throws

    If the key type isn't K1

    Parameters

    • prefix: string = 'EOS'

    Returns string

  • Return key in modern Antelope/EOSIO format (PUB_<type>_<base58data>)

    Returns string

Generated using TypeDoc