RestorePreamble class
It can only present on successful simulation (i.e. no error) of InvokeHostFunction operations. If present, it indicates the simulation detected expired ledger entries which requires restoring with the submission of a RestoreFootprint operation before submitting the InvokeHostFunction operation. The minResourceFee and transactionData fields should be used to construct the transaction containing the RestoreFootprint operation.
Constructors
- RestorePreamble(XdrSorobanTransactionData transactionData, int minResourceFee)
-
RestorePreamble.fromJson(Map<
String, dynamic> json) -
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- minResourceFee ↔ int
-
Recommended minimum resource fee to add when submitting the RestoreFootprint operation. This fee is to be added on top of the Stellar network fee.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- transactionData ↔ XdrSorobanTransactionData
-
The recommended Soroban Transaction Data to use when submitting the RestoreFootprint operation.
getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited