SolanaRequestSignatureSubscribe class
Subscribe to receive a notification when the transaction with the given signature reaches the specified commitment level. https://solana.com/docs/rpc/websocket/signaturesubscribe
- Inheritance
-
- Object
- BaseServiceRequest<
int, int, SolanaRequestDetails> - SolanaRequest<
int, int> - SolanaRequestSignatureSubscribe
Constructors
- SolanaRequestSignatureSubscribe.new({required String transactionSignature, Commitment? commitment, bool? enableReceivedNotification})
-
const
Properties
- commitment → Commitment?
-
The desired commitment level for the request.
finalinherited
- enableReceivedNotification → bool?
-
Whether or not to subscribe for notifications when signatures are received by the RPC,
in addition to when they are processed.
final
- encoding → SolanaRequestEncoding?
-
The encoding format of the data.
finalinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- method → String
-
signatureSubscribe
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(
int result) → int -
inherited
-
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