Interface that should be implemented by ABI serializable objects.

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.

    Parameters

    • prefix: string = 'SYS'

    Returns string

    Throws

    If the key type isn't K1 or 'EM'.

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

    Returns string