SimulateTransactionConfig class

Simulate Transaction Config

Inheritance

Constructors

SimulateTransactionConfig.new({bool sigVerify = false, Commitment? commitment, TransactionEncoding encoding = TransactionEncoding.base64, bool replaceRecentBlockhash = false, AccountsFilter? accounts, int? minContextSlot})
JSON RPC configurations for SimulateTransaction methods.
const

Properties

accounts AccountsFilter?
The maximum number of times for the RPC node to retry sending the transaction to the leader. If this parameter not provided, the RPC node will retry the transaction until it is finalised or until the blockhash expires.
final
commitment Commitment?
The type of block to query for the request. If commitment is not provided, the node will default to Commitment.finalized.
finalinherited
encoding TransactionEncoding
The transaction data encoding (must be 'base64').
final
hashCode int
The hash code for this object.
no setterinherited
minContextSlot int?
The minimum slot that the request can be evaluated at.
finalinherited
replaceRecentBlockhash bool
If true, the transaction recent blockhash will be replaced with the most recent blockhash. (default: false, conflicts with sigVerify).
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sigVerify bool
If true, the transaction signatures will be verified (default: false, conflicts with replaceRecentBlockhash).
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
Serialises this class into a JSON object.
override
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited