GetTransactionConfig class
Get Transaction Config
- Inheritance
-
- Object
- Serializable
- CommitmentConfig
- GetTransactionConfig
Constructors
- GetTransactionConfig.new({TransactionEncoding? encoding = TransactionEncoding.base64, Commitment? commitment, int? maxSupportedTransactionVersion})
-
JSON RPC configurations for
getTransaction
methods.
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's encoding (default: TransactionEncoding.json).
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- maxSupportedTransactionVersion → int?
-
The max transaction version to return in responses. If the requested transaction is a higher
version, an error will be returned. If this parameter is omitted, only legacy transactions
will be returned, and any versioned transaction will prompt the error.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
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