SendAndConfirmTransactionConfig class

Send And Confirm Transaction Config

Inheritance

Constructors

SendAndConfirmTransactionConfig.new({bool skipPreflight = false, Commitment? preflightCommitment, Commitment? commitment, TransactionEncoding encoding = TransactionEncoding.base64, usize? maxRetries, int? minContextSlot})
JSON RPC configurations for sendAndConfirmTransaction methods.
const

Properties

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
maxRetries usize?
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
minContextSlot int?
The minimum slot that the request can be evaluated at.
final
preflightCommitment Commitment?
The type of block to query for the request (default: commitment).
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
skipPreflight bool
If true, skip the preflight transaction checks (default: false).
final

Methods

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

Operators

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