Function getBytesPublicKey

  • Retrieves the byte representation of a given public key.

    Parameters

    • publicKey: string

      The public key to obtain the bytes from.

    Returns Uint8Array

    A Uint8Array containing the bytes of the public key.

    Throws

    If the public key has an incorrect PUBLIC_KEY_PREFIX.

Generated using TypeDoc