RavenElectrumClient class
Methods on RavenElectrumClient are defined in the methods
directory.
See https://electrumx-ravencoin.readthedocs.io/en/latest/protocol-methods.html
- Inheritance
-
- Object
- BaseClient
- SubscribingClient
- RavenElectrumClient
- Available Extensions
Constructors
- RavenElectrumClient(dynamic channel)
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- peer ↔ Peer
-
We use a Peer here--which implements both Server and Client sides of a
Remote Procedure Call (RPC) interface--to communicate with an ElectrumX
Ravencoin server. We do so because we need:
getter/setter pairinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
close(
) → Future< void> -
inherited
-
handleError(
dynamic error, dynamic trace) → void -
inherited
-
makeSubscription<
T> (Subscribable subscribable, List params) → StreamController< T> -
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
request(
String method, [dynamic parameters]) → Future -
inherited
-
subscribe<
T> (String methodPrefix, [List params = const []]) → Stream< T> -
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
connect(
dynamic host, {dynamic port = 50002, dynamic connectionTimeout = conn.connectionTimeout, dynamic aliveTimerDuration = conn.aliveTimerDuration, dynamic acceptUnverified = true, dynamic clientName = 'MTWallet', dynamic protocolVersion = '1.8'}) → Future< RavenElectrumClient>