SendTransactionConfig class

Send Transaction Config

Inheritance

Constructors

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

Properties

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 finalized 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.
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
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