Package | Description |
---|---|
org.bitcoinj.wallet |
Classes that support the
Wallet , which knows how to find and save transactions relevant to
a set of keys or scripts, calculate balances, and spend money: the wallet has many features and can be extended
in various ways, please refer to the website for documentation on how to use it. |
Modifier and Type | Method and Description |
---|---|
static Wallet.BalanceType |
Wallet.BalanceType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Wallet.BalanceType[] |
Wallet.BalanceType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
Coin |
Wallet.getBalance(Wallet.BalanceType balanceType)
Returns the balance of this wallet as calculated by the provided balanceType.
|
ListenableFuture<Coin> |
Wallet.getBalanceFuture(Coin value,
Wallet.BalanceType type)
Returns a future that will complete when the balance of the given type has becom equal or larger to the given
value.
|
Copyright © 2016. All rights reserved.