EVMRPC class
Represents an interface to interact with Ethereum Virtual Machine (EVM) nodes using JSON-RPC requests.
Constructors
- EVMRPC(JSONRPCService rpc)
-
Creates a new instance of the EVMRPC class with the specified
rpc
.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- rpc → JSONRPCService
-
The JSON-RPC service used for communication with the EVM node.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
request<
T> (ETHRPCRequest< T> request, [Duration? timeout]) → Future<T> - Sends a JSON-RPC request to the EVM node and returns the result after processing the response.
-
requestDynamic(
String method, dynamic params, [Duration? timeout]) → Future -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited