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

Methods

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

    Throws

    If the key type isn't K1

    Parameters

    • Optional prefix: string

    Returns string

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

    Returns string