EthereumProvider class
Represents an interface to interact with Ethereum Virtual Machine (ethereum) nodes using JSON-RPC requests.
- Inheritance
-
- Object
- BaseProvider<
EthereumRequestDetails> - EthereumProvider
Constructors
- EthereumProvider.new(EthereumServiceProvider rpc)
-
Creates a new instance of the EthereumProvider class with the specified
rpc
.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- rpc → EthereumServiceProvider
-
The JSON-RPC service used for communication with the ethereum 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<
RESULT, SERVICERESPONSE> (BaseServiceRequest< RESULT, SERVICERESPONSE, EthereumRequestDetails> request, {Duration? timeout}) → Future<RESULT> -
Sends a request to the ethereum network using the specified
request
parameter.override -
requestDynamic<
RESULT, SERVICERESPONSE> (BaseServiceRequest< RESULT, SERVICERESPONSE, EthereumRequestDetails> request, {Duration? timeout}) → Future<SERVICERESPONSE> -
Sends a request to the ethereum network using the specified
request
parameter.override -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited