Simulate Transaction Request
@Serializable
Request for JSON-RPC method simulateTransaction.
Simulates a transaction to preview its effects without submitting it to the network. This is essential for Soroban transactions to calculate resource requirements and auth entries.
See also
Constructors
Link copied to clipboard
constructor(transaction: String, resourceConfig: SimulateTransactionRequest.ResourceConfig? = null, authMode: SimulateTransactionRequest.AuthMode? = null, useUpgradedAuth: Boolean? = null)
Types
Properties
Link copied to clipboard
Authorization mode for simulation. Controls how auth entries are handled.
Link copied to clipboard
Optional configuration for resource estimation.
Link copied to clipboard
Base64-encoded XDR TransactionEnvelope to simulate.
Link copied to clipboard
When true, requests Protocol-27 ADDRESS_V2 auth entries instead of legacy ADDRESS entries in recording modes. RPC servers below Protocol 27 ignore the flag and still return legacy ADDRESS entries.