SolanaRequestGetTransaction class
Returns transaction details for a confirmed transaction https://solana.com/docs/rpc/http/gettransaction
- Inheritance
-
- Object
- BaseServiceRequest<
VersionedTransactionResponse, Map< String, dynamic> , SolanaRequestDetails> - SolanaRequest<
VersionedTransactionResponse, Map< String, dynamic> > - SolanaRequestGetTransaction
Constructors
- SolanaRequestGetTransaction.new({required String transactionSignature, int? maxSupportedTransactionVersion, Commitment? commitment, SolanaRequestEncoding? encoding = SolanaRequestEncoding.base64})
-
const
Properties
- commitment → Commitment?
-
The desired commitment level for the request.
finalinherited
- encoding → SolanaRequestEncoding?
-
The encoding format of the data.
finalinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- maxSupportedTransactionVersion → int?
-
Set 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
- method → String
-
getTransaction
no setteroverride
- minContextSlot → MinContextSlot?
-
The minimum context slot for the request.
finalinherited
- requestType → RequestServiceType
-
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- transactionSignature → String
-
Transaction signature, as base-58 encoded string
final
Methods
-
buildRequest(
int requestID) → SolanaRequestDetails -
Converts the request parameters to a SolanaRequestDetails object.
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
onResonse(
Map< String, dynamic> result) → VersionedTransactionResponse -
override
-
toJson(
) → List -
Converts the request parameters to a JSON representation.
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited