IWalletService class abstract

Implementers

Constructors

IWalletService()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

checkAvailableBLBalance({required String toAddress, required String privateKey, required double amount}) Future<bool>
checkAvailableBNBBalance({required String toAddress, required String privateKey, required double amount}) Future<bool>
checkAvailableGasFee({required String toAddress, required String privateKey, required double amount}) Future<bool>
createWallet() Future<void>
deleteWallet() Future<void>
estimateGasFee({required String from, required String toAddress, required double amount, bool isBEP20}) Future<Map<String, BigInt>>
getAddress() String
getBinanceBalance(String address) Future<double>
getBLBalance(String address) Future<double>
getBNBTransactions(String address) Future<List<Map<String, dynamic>>>
getMnemonic() String
getPrivateKey() String
getTokenDecimals() Future<int>
getTokenSymbol() Future<String>
loadWallet() Future<bool>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
restoreByMnemonic(String mnemonic) Future<bool>
sendBEP20Token({required String toAddress, required String privateKey, required double amount}) Future<String>
sendBNB({required String toAddress, required String privateKey, required double amount}) Future<String>
toString() String
A string representation of this object.
inherited
trustWalletInit() Future<void>

Operators

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