WalletService class abstract
- Implementers
Constructors
Properties
- balanceUsecase → WalletBalanceUsecase
-
Path to deliver information from
web3
final - hashCode → int
-
The hash code for this object.
no setterinherited
- historyUsecase → WalletHistoryUsecase
-
Path to deliver information from
polygonAPI
final - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- walletUsecase → WalletUsecase
-
Path to create new wallet
final
Methods
-
createWallet(
{required int words}) → Future< Either< Failure, WalletEntity> > - Create new ETH wallet
-
getBalance(
{required String address}) → Future< Either< Failure, WalletBalanceEntity> > -
Get balance WORK tokens of given wallet
address
-
getTransactions(
{required String address}) → Future< Either< Failure, WalletTransactionsEntity> > -
Get history of transactions for given
address
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited