Function generateSigningMessage

  • Generates the 'signing message' form of a message to be signed.

    Parameters

    • bytes: Uint8Array

      The byte representation of the message to be signed and sent to the chain

    • domainSeparator: string

      A domain separator that starts with 'APTOS::'

    Returns Uint8Array

    The Uint8Array of the signing message