Simulate Transaction Response
Response for JSON-RPC method simulateTransaction.
The simulation response will have different model representations with different members present or absent depending on the type of response that it is conveying. For example, the simulation response for invoke host function could be one of three types:
Error: Contains an error message
Success: Contains results, transaction data, and resource fees
Restore operation needed: Contains restore preamble for state archival restoration
See also
Constructors
Types
Represents a change in a ledger entry during simulation.
Information about required state restoration before the transaction can be submitted.
Result of simulating a host function invocation.
Properties
The latest ledger used for simulation
Minimum resource fee required for the transaction (in stroops)
Information about required state restoration (if needed)
List of host function invocation results (typically contains a single element)
List of ledger entry changes that would occur if the transaction is applied
Base64-encoded SorobanTransactionData XDR to be set in the transaction