The input data required to generate the signed transaction for simulation.
Optional
feePayerPublicKey?: PublicKeyFor a fee payer transaction (aka Sponsored Transaction)
Optional
options?: InputSimulateTransactionOptionsOptional
secondarySignersPublicKeys?: (PublicKey | undefined)[]For a fee payer or multi-agent transaction that requires additional signers in
Optional
signerPublicKey?: PublicKeyFor a single signer transaction
The transaction to simulate, probably generated by generateTransaction()
A signed serialized transaction that can be simulated.
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.