JSONRPCService mixin

A mixin for providing JSON-RPC service functionality.

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
url String
Represents the URL endpoint for JSON-RPC calls.
no setter

Methods

call(ETHRequestDetails params, [Duration? timeout]) Future<Map<String, dynamic>>
Makes a JSON-RPC call with the specified params and optional timeout. Returns a Future<Map<String, dynamic>> representing the JSON-RPC response.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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