Function generateSignedTransaction

  • Generate a signed transaction ready for submission to the blockchain. This function prepares the transaction by authenticating the sender and any additional signers based on the provided arguments.

    Parameters

    Returns Uint8Array

    A Uint8Array representing the signed transaction in bytes.

    Error if the feePayerAuthenticator is not provided for a fee payer transaction.

    Error if additionalSignersAuthenticators are not provided for a multi-signer transaction.