RPCSubscribe class
The subscribe method requests periodic notifications from the server when certain events happen. WebSocket API only. See subscribe
Constructors
-
RPCSubscribe.new({List<
StreamParameter> ? streams, List<SubscribeBook> ? books, List<String> ? accounts, List<String> ? accountProposed, String? url, String? urlUsername, String? urlPassword})
Properties
-
accountProposed
→ List<
String> ? -
final
-
accounts
→ List<
String> ? -
final
-
books
→ List<
SubscribeBook> ? -
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- ledgerIndex → XRPLLedgerIndex?
-
The ledger index for the lookup.
finalinherited
- method → String
-
The RPC method associated with the request.
no setteroverride
- requestType → RequestServiceType
-
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
streams
→ List<
StreamParameter> ? -
final
- url → String?
-
final
- urlPassword → String?
-
final
- urlUsername → String?
-
final
Methods
-
buildRequest(
int requestID) → XRPRequestDetails -
Converts the request to an XRPRequestDetails object.
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
onResonse(
Map< String, dynamic> result) → Map<String, dynamic> -
inherited
-
toJson(
) → Map< String, dynamic> -
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