EthereumRequestGetBalance class
Returns the balance of the account of given address. ethereum.org
- Inheritance
-
- Object
- BaseServiceRequest<
BigInt, Object, EthereumRequestDetails> - EthereumRequest<
BigInt, Object> - EthereumRequestGetBalance
Constructors
- EthereumRequestGetBalance.new({required String address, BlockTagOrNumber? tag = BlockTagOrNumber.latest})
Properties
- address → String
-
address to check for balance.
final
- blockNumber → BlockTagOrNumber?
-
finalinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- method → String
-
eth_getBalance
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(
dynamic result) → BigInt -
override
-
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