Function generateSignedTransactionForSimulation

  • Generate a signed transaction for simulation before submitting it to the chain. This function helps in preparing a transaction that can be simulated, allowing users to verify its validity and expected behavior.

    Parameters

    Returns Uint8Array

    A signed serialized transaction that can be simulated.