EthereumRequestGetHashRate class

Returns the number of hashes per second that the node is mining with. This can only return true for proof-of-work networks and may not be available in some clients since The Merge. ethereum.org

Inheritance

Properties

blockNumber BlockTagOrNumber?
finalinherited
hashCode int
The hash code for this object.
no setterinherited
method String
eth_hashrate
no setteroverride
requestType → RequestServiceType
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

buildRequest(int requestId) EthereumRequestDetails
Converts the request parameters to a EthereumRequestDetails object.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
onResonse(String result) String
inherited
toJson() List
Converts the request parameters to a JSON representation.
override
toString() String
A string representation of this object.
override

Operators

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