WalletService class

Implemented types

Constructors

WalletService()

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

Operators

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