SimulateTransactionResponse class Null safety
Response that will be received when submitting a trial contract invocation. See: https://soroban.stellar.org/api/methods/simulateTransaction
- Inheritance
-
- Object
- SorobanRpcResponse
- SimulateTransactionResponse
Constructors
-
SimulateTransactionResponse(Map<
String, dynamic> jsonResponse) -
SimulateTransactionResponse.fromJson(Map<
String, dynamic> json) -
factory
Properties
- cost ↔ SimulateTransactionCost?
-
Information about the fees expected, instructions used, etc.
read / write
- error ↔ SorobanRpcErrorResponse?
-
read / write, inherited
-
events
↔ List<
String> ? -
Array of the events emitted during the contract invocation(s). The events are ordered by their emission time. (an array of serialized base64 strings representing XdrDiagnosticEvent)
read / write
- footprint → Footprint?
-
read-only
- hashCode → int
-
The hash code for this object.
read-only, inherited
- isErrorResponse → bool
-
read-only, inherited
-
jsonResponse
↔ Map<
String, dynamic> -
read / write, inherited
- latestLedger ↔ String?
-
Stringified-number of the current latest ledger observed by the node when this response was generated.
read / write
- minResourceFee ↔ int?
-
Recommended minimum resource fee to add when submitting the transaction. This fee is to be added on top of the Stellar network fee.
read / write
- resultError ↔ String?
-
(optional) only present if the transaction failed.
This field will include more details from stellar-core about why the invoke host function call failed.
read / write
-
results
↔ List<
SimulateTransactionResult> ? -
If error is present then results will not be in the response
There will be one results object for each operation in the transaction.
read / write
- runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
-
sorobanAuth
→ List<
SorobanAuthorizationEntry> ? -
read-only
- transactionData ↔ XdrSorobanTransactionData?
-
The recommended Soroban Transaction Data to use when submitting the simulated transaction. This data contains the refundable fee and resource usage information such as the ledger footprint and IO access data.
read / write
Methods
-
getFootprint(
) → Footprint? -
getSorobanAuth(
) → List< SorobanAuthorizationEntry> ? -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited