IJsonRpcProvider class abstract
- Inheritance
-
- Object
- IBaseJsonRpcProvider
- IJsonRpcProvider
- Implementers
Constructors
Properties
- connection → IJsonRpcConnection
-
no setter
-
events
→ EventEmitter<
String> -
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
close(
) → Future< void> -
connect(
{dynamic connection}) → Future< void> -
inherited
-
disconnect(
) → Future< void> -
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
off(
Listener< String> ? listener) → void -
inherited
-
on(
String event, EventCallback callback) → Listener< String> -
inherited
-
once(
String event, EventCallback callback) → Listener< String> -
inherited
-
onPayload(
JsonRpcResult< Object?> payload) → void -
open(
{dynamic connection}) → Future< void> -
removeListener(
String eventName, EventCallback callback) → void -
inherited
-
request<
Params> ({required RequestArguments< Params> request, dynamic context}) → Future -
inherited
-
requestStrict<
Params> ({required JsonRpcRequest< Params> request, dynamic context}) → Future -
inherited
-
setConnection(
IJsonRpcConnection connection) → IJsonRpcConnection -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited