Interface that should be implemented by ABI serializable objects.

Hierarchy

  • Signature

Implements

Properties

data: Bytes

Signature data.

type: KeyType

Type, e.g. K1

abiName: string

Methods

  • Recover public key from given message.

    Parameters

    Returns PublicKey

  • Base58check encoded string representation of this signature (SIG_<type>_<data>).

    Returns string

  • Verify this signature with given message digest and public key.

    Parameters

    Returns boolean

  • Verify this signature with given message and public key.

    Parameters

    Returns boolean