The input data required to generate the signed transaction for simulation.
The data required to simulate a transaction, typically generated by generateTransaction().
OptionalfeePayerPublicKey?: PublicKeyFor a fee payer transaction (aka Sponsored Transaction)
Optionaloptions?: InputSimulateTransactionOptionsOptionalsecondarySignersPublicKeys?: (PublicKey | undefined)[]For a fee payer or multi-agent transaction that requires additional signers in
OptionalsignerPublicKey?: PublicKeyFor a single signer transaction
The transaction to simulate, probably generated by generateTransaction().
Encrypted payloads (options.encrypted when building) are not supported: simulation throws
before the request is sent; simulate a plaintext build of the same entry function instead.
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.