| Package | Description |
|---|---|
| org.iota.jota | |
| org.iota.jota.account | |
| org.iota.jota.account.errors |
| Modifier and Type | Method and Description |
|---|---|
long |
IotaAccount.availableBalance()
Runs the input selection with the CDAs in order to determine the usable balance for funding transfers.
|
String |
IotaAccount.getId()
Returns the account’s unique identifier which is a sha256 hash of the account’s seed.
|
void |
IotaAccount.load(String accountId,
AccountState state) |
Future<ConditionalDepositAddress> |
IotaAccount.newDepositAddress(Date timeOut,
boolean multiUse,
long expectedAmount,
ExpireCondition... otherConditions)
Future always completed
Allocates a new CDA in the underlying store.
|
Future<ConditionalDepositAddress> |
IotaAccount.newDepositRequest(DepositRequest request,
ExpireCondition... otherConditions) |
Future<Bundle> |
IotaAccount.send(Recipient recipient)
Future always completed
Sends the specified amounts to the given recipient.
|
void |
IotaAccount.shutdown()
Shutdowns the account’s inner event loop and shutdowns all plugins.
|
boolean |
IotaAccount.start()
Starts the account event loop
|
long |
IotaAccount.totalBalance()
Uses all stored CDAs to determine the current total balance.
|
void |
IotaAccount.updateSettings(AccountOptions newSettings)
Updates the settings of the account in a synchronized manner by shutting down all plugins,
stopping the event loop, applying the settings
and starting the newly defined plugins and kicking off the event loop again.
|
| Modifier and Type | Method and Description |
|---|---|
long |
Account.availableBalance()
Runs the input selection with the CDAs in order to determine the usable balance for funding transfers.
|
String |
Account.getId()
Returns the account’s unique identifier which is a sha256 hash of the account’s seed.
|
List<Input> |
AccountStateManager.getInputAddresses(long value)
Calculates the required inputs for the given balance.
|
void |
Account.load()
Loads the account’s inner event loop to accept commands and provided plugins using current the account settings
|
Future<ConditionalDepositAddress> |
Account.newDepositAddress(Date timeOut,
boolean multiUse,
long expectedAmount,
ExpireCondition... otherConditions)
Allocates a new CDA in the underlying store.
|
Future<Bundle> |
Account.send(Recipient recipient)
Sends the specified amounts to the given recipient.
|
void |
Account.shutdown()
Shutdowns the account’s inner event loop and shutdowns all plugins.
|
boolean |
Account.start()
Starts the account event loop
|
long |
Account.totalBalance()
Uses all stored CDAs to determine the current total balance.
|
void |
Account.updateSettings(AccountOptions newSettings)
Updates the settings of the account in a synchronized manner by shutting down all plugins,
stopping the event loop, applying the settings
and starting the newly defined plugins and kicking off the event loop again.
|
| Modifier and Type | Class and Description |
|---|---|
class |
AccountLoadError |
class |
AccountNoBalanceError |
class |
AddressGenerationError |
class |
MagnetError |
class |
SendException |
Copyright © 2019. All rights reserved.