ApiAccountEth class

Constructors

ApiAccountEth(PolkawalletApi apiRoot, ServiceAccountEth service)

Properties

apiRoot PolkawalletApi
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
service ServiceAccountEth
final

Methods

getAcalaGasParams() Map<String, String>
getAddress(String address) Future<String?>
getNativeTokenBalance(String address) Future<String>
getTokenBalance(String address, List<String> contractAddresses) Future<List?>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
queryEthGasParams({int gasLimit = 200000}) Future<EvmGasParams>
toString() String
A string representation of this object.
inherited
updateAddressIconsMap(KeyringEVM keyring, [List? address]) Future<void>
This method query account icons and set icons to Keyring.store so we can get icon of an account from Keyring instance.

Operators

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