Function generateSigningMessageForTransaction

  • Generates the 'signing message' form of a transaction by deriving the type of transaction and applying the appropriate domain separator based on the presence of a fee payer or secondary signers.

    Parameters

    • transaction: AnyRawTransaction

      A transaction that is to be signed, which can include a fee payer address or secondary signer addresses.

    Returns Uint8Array

    The Uint8Array of the signing message.