SolanaRPCRequest<T> class abstract

An abstract class representing Solana JSON-RPC requests with generic response types.

Inheritance
Implemented types
Implementers

Constructors

SolanaRPCRequest({MinContextSlot? minContextSlot, Commitment? commitment, SolanaRPCEncoding? encoding})
const

Properties

commitment Commitment?
The desired commitment level for the request.
finalinherited
encoding SolanaRPCEncoding?
The encoding format of the data.
finalinherited
hashCode int
The hash code for this object.
no setterinherited
method String
finalinherited
minContextSlot MinContextSlot?
The minimum context slot for the request.
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
validate String?
A validation property (not used in this implementation).
no setter

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
onResonse(dynamic result) → T
Converts a dynamic response to the generic type T.
toJson() List
Converts the request to JSON format.
inherited
toRequest(int requestId) SolanaRequestDetails
Converts the request parameters to a SolanaRequestDetails object.
toString() String
A string representation of this object.
inherited

Operators

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