| Package | Description |
|---|---|
| io.nessus |
| Modifier and Type | Method and Description |
|---|---|
Wallet.Address |
Wallet.addAddress(String key,
List<String> labels)
Add a watch only address to this wallet
|
Wallet.Address |
Wallet.addPrivateKey(String privKey,
List<String> labels) |
Wallet.Address |
Wallet.findAddress(String rawAddr)
Find the address for a given raw address
|
Wallet.Address |
Wallet.getAddress(String label)
Get the default address for a given label
|
Wallet.Address |
Wallet.getChangeAddress(String label)
Get the default change address for a given label
|
Wallet.Address |
Wallet.newAddress(List<String> labels)
Generate new address for this wallet
|
| Modifier and Type | Method and Description |
|---|---|
List<Wallet.Address> |
Wallet.getAddresses()
Get all addresses.
|
List<Wallet.Address> |
Wallet.getAddresses(String label)
Get addresses for a given label.
|
List<Wallet.Address> |
Wallet.getChangeAddresses(String label)
Get change addresses for a given label
|
| Modifier and Type | Method and Description |
|---|---|
List<String> |
Network.generate(int numBlocks,
Wallet.Address addr)
Generate the given number of blocks to the given address
|
BigDecimal |
Wallet.getBalance(Wallet.Address addr)
Get the balance for a given address
|
| Modifier and Type | Method and Description |
|---|---|
List<UTXO> |
Wallet.listUnspent(List<Wallet.Address> addrs)
List UTOXs associated with a list of addresses
|
List<UTXO> |
Wallet.selectUnspent(List<Wallet.Address> addrs,
BigDecimal amount)
Select a list of unspent transaction outputs that satisfy the requested amount
|
Copyright © 2018. All rights reserved.