| Package | Description |
|---|---|
| org.iota.jota | |
| org.iota.jota.builder | |
| org.iota.jota.connection | |
| org.iota.jota.types | |
| org.iota.jota.utils |
| Modifier and Type | Method and Description |
|---|---|
AddNeighborsResponse |
IotaAPICore.addNeighbors(String... uris)
Temporarily add a list of neighbors to your node.
|
List<String> |
IotaAPI.addRemainder(String seed,
int security,
List<Input> inputs,
Bundle bundle,
String tag,
long totalValue,
String remainderAddress,
List<String> signatureFragments)
Uses input, and adds to the bundle, untill totalValue is reached.
|
GetAttachToTangleResponse |
IotaAPICore.attachToTangle(String trunkTransaction,
String branchTransaction,
Integer minWeightMagnitude,
String... trytes)
Prepares the specified transactions (trytes) for attachment to the Tangle by doing Proof of Work.
|
BroadcastTransactionsResponse |
IotaAPICore.broadcastTransactions(String... trytes)
Broadcast a list of transactions to all neighbors.
|
Bundle[] |
IotaAPI.bundlesFromAddresses(Boolean inclusionStates,
String... addresses)
Internal function to get the formatted bundles of a list of addresses.
|
IotaCustomResponse |
IotaAPICore.callIxi(String module,
String... args) |
CheckConsistencyResponse |
IotaAPICore.checkConsistency(String... tails)
Checks the consistency of the subtangle formed by the provided tails.
|
boolean[] |
IotaAPI.checkWereAddressSpentFrom(String... addresses)
Check if a list of addresses was ever spent from, in the current epoch, or in previous epochs.
|
Boolean |
IotaAPI.checkWereAddressSpentFrom(String address)
Check if an addresses was ever spent from, in the current epoch, or in previous epochs.
|
List<Transaction> |
IotaAPI.findTransactionObjectsByAddresses(String[] addresses)
Wrapper function: Finds transactions, gets trytes and turns it into
Transaction objects. |
List<Transaction> |
IotaAPI.findTransactionObjectsByApprovees(String... approvees)
Wrapper function: Finds transactions, gets trytes and turns it into
Transaction objects. |
List<Transaction> |
IotaAPI.findTransactionObjectsByBundle(String... bundles)
Wrapper function: Finds transactions, gets trytes and turns it into
Transaction objects. |
List<Transaction> |
IotaAPI.findTransactionObjectsByTag(String... tags)
Wrapper function: Finds transactions, gets trytes and turns it into
Transaction objects. |
FindTransactionResponse |
IotaAPICore.findTransactions(String[] addresses,
String[] tags,
String[] approvees,
String[] bundles)
Find the transactions which match the specified input and return.
|
FindTransactionResponse |
IotaAPICore.findTransactionsByAddresses(String... addresses)
Find the transactions by addresses with checksum
|
FindTransactionResponse |
IotaAPICore.findTransactionsByApprovees(String... approvees)
Find the transactions by approvees
|
FindTransactionResponse |
IotaAPICore.findTransactionsByBundles(String... bundles)
Find the transactions by bundles
|
FindTransactionResponse |
IotaAPICore.findTransactionsByDigests(String... digests)
Deprecated.
|
FindTransactionResponse |
IotaAPICore.findTransactionsByTags(String... tags)
Find the transactions by tags
|
List<Transaction> |
IotaAPI.findTransactionsObjectsByHashes(String... hashes)
Wrapper function: get trytes and turns into
Transaction objects. |
GetAccountDataResponse |
IotaAPI.getAccountData(String seed,
int security,
int index,
boolean checksum,
int total,
boolean returnAll,
int start,
int end,
boolean inclusionStates,
long threshold)
Similar to getTransfers, just that it returns additional account data
|
GetNewAddressResponse |
IotaAPI.getAddressesUnchecked(AddressRequest addressRequest)
Generates
amount of addresses, starting from index
This does not mean that these addresses are safe to use (unspent) |
long |
IotaAPI.getBalance(int threshold,
String address)
The returned balance is based on the latest confirmed milestone.
|
GetBalancesAndFormatResponse |
IotaAPI.getBalanceAndFormat(List<String> addresses,
List<String> tips,
long threshold,
int start,
StopWatch stopWatch,
int security)
Gets the balances and formats the output.
|
GetBalancesResponse |
IotaAPICore.getBalances(Integer threshold,
List<String> addresses)
Calculates the confirmed balance, as viewed by the latest solid milestone.
|
GetBalancesResponse |
IotaAPICore.getBalances(Integer threshold,
List<String> addresses,
List<String> tips)
Calculates the confirmed balance, as viewed by the specified tips.
|
GetBalancesResponse |
IotaAPICore.getBalances(Integer threshold,
String[] addresses,
String[] tips)
Calculates the confirmed balance, as viewed by the specified tips.
|
GetBundleResponse |
IotaAPI.getBundle(String transaction)
Gets the associated bundle transactions of a single transaction.
|
GetInclusionStateResponse |
IotaAPICore.getInclusionStates(String[] transactions,
String[] tips)
Get the inclusion states of a set of transactions.
|
GetBalancesAndFormatResponse |
IotaAPI.getInputs(String seed,
int security,
int start,
int end,
long threshold,
String... tips)
Gets the inputs of a seed
If start, end and threshold are 0, checks everything until an address with nothing is found.
|
GetInclusionStateResponse |
IotaAPI.getLatestInclusion(String... hashes)
Wrapper function: runs getNodeInfo and getInclusionStates
Uses the latest milestone as tip
|
GetNeighborsResponse |
IotaAPICore.getNeighbors()
Returns the set of neighbors you are connected with, as well as their activity statistics (or counters).
|
GetNodeInfoResponse |
IotaAPICore.getNodeInfo()
Returns information about this node.
|
GetTipsResponse |
IotaAPICore.getTips()
Returns all tips currently known by this node.
|
GetTransactionsToApproveResponse |
IotaAPICore.getTransactionsToApprove(Integer depth)
Tip selection which returns trunkTransaction and branchTransaction.
|
GetTransactionsToApproveResponse |
IotaAPICore.getTransactionsToApprove(Integer depth,
String reference)
Tip selection which returns trunkTransaction and branchTransaction.
|
GetTransferResponse |
IotaAPI.getTransfers(String seed,
int security,
Integer start,
Integer end,
Boolean inclusionStates)
Finds all the bundles for all the addresses based on this seed and security.
|
GetTrytesResponse |
IotaAPICore.getTrytes(String... hashes)
Returns the raw transaction data (trytes) of a specific transaction.
|
List<Transaction> |
IotaAPI.initiateTransfer(int securitySum,
String inputAddress,
String remainderAddress,
List<Transfer> transfers)
Prepares transfer by generating the bundle with the corresponding cosigner transactions.
|
List<Transaction> |
IotaAPI.initiateTransfer(int securitySum,
String inputAddress,
String remainderAddress,
List<Transfer> transfers,
boolean testMode)
Prepares transfer by generating the bundle with the corresponding cosigner transactions.
|
List<Transaction> |
IotaAPI.initiateTransfer(int securitySum,
String inputAddress,
String remainderAddress,
List<Transfer> transfers,
List<Transaction> tips)
Prepares transfer by generating the bundle with the corresponding cosigner transactions.
|
List<Transaction> |
IotaAPI.initiateTransfer(int securitySum,
String inputAddress,
String remainderAddress,
List<Transfer> transfers,
List<Transaction> tips,
boolean testMode)
Prepares transfer by generating the bundle with the corresponding cosigner transactions.
|
InterruptAttachingToTangleResponse |
IotaAPICore.interruptAttachingToTangle()
Interrupts and completely aborts the attachToTangle process.
|
boolean |
IotaAPI.isPromotable(String tail)
Checks if a transaction hash is promotable
|
boolean |
IotaAPI.isPromotable(Transaction tail)
Checks if a transaction hash is promotable
|
List<String> |
IotaAPI.prepareTransfers(String seed,
int security,
List<Transfer> transfers,
String remainder,
List<Input> inputs,
List<Transaction> tips,
boolean validateInputs)
Prepares transfer by generating bundle, finding and signing inputs.
|
RemoveNeighborsResponse |
IotaAPICore.removeNeighbors(String... uris)
Temporarily removes a list of neighbors from your node.
|
ReplayBundleResponse |
IotaAPI.replayBundle(Bundle bundle,
int depth,
int minWeightMagnitude,
String reference)
Replays a transfer by doing Proof of Work again.
|
ReplayBundleResponse |
IotaAPI.replayBundle(String tailTransactionHash,
int depth,
int minWeightMagnitude,
String reference)
Replays a transfer by doing Proof of Work again.
|
SendTransferResponse |
IotaAPI.sendTransfer(String seed,
int security,
int depth,
int minWeightMagnitude,
List<Transfer> transfers,
List<Input> inputs,
String remainderAddress,
boolean validateInputs,
boolean validateInputAddresses,
List<Transaction> tips)
Wrapper function: Runs prepareTransfers, as well as attachToTangle.
|
List<Transaction> |
IotaAPI.sendTrytes(String[] trytes,
int depth,
int minWeightMagnitude,
String reference)
Wrapper method: Gets transactions to approve, attaches to Tangle, broadcasts and stores.
|
Future<Bundle> |
IotaAccount.sendZeroValue(Optional<String> message,
Optional<String> tag,
Optional<String> address)
Future always completed
|
Future<Bundle> |
IotaAccount.sendZeroValue(String message,
String tag,
String address)
Future always completed
|
BroadcastTransactionsResponse |
IotaAPI.storeAndBroadcast(String... trytes)
Wrapper method: stores and broadcasts the specified trytes.
|
StoreTransactionsResponse |
IotaAPICore.storeTransactions(String... trytes)
Stores transactions in the local storage.
|
Bundle |
IotaAPI.traverseBundle(String trunkTx,
String bundleHash,
Bundle bundle)
Traverses the Bundle by going down the trunkTransactions until the bundle hash of the transaction changes.
|
void |
IotaAPI.validateTransfersAddresses(String seed,
int security,
List<String> trytes)
Validates the supplied transactions with seed and security.
|
WereAddressesSpentFromResponse |
IotaAPICore.wereAddressesSpentFrom(String... addresses)
Check if a list of addresses was ever spent from, in the current epoch, or in previous epochs.
|
| Constructor and Description |
|---|
Builder(SeedProvider seed) |
Builder(String seed) |
| Constructor and Description |
|---|
AccountBuilder(String seed)
Start of the builder.
|
| Constructor and Description |
|---|
Hash(String hash) |
| Modifier and Type | Method and Description |
|---|---|
static String |
Checksum.addChecksum(String address)
Adds the checksum to the specified address.
|
static boolean |
InputValidator.checkAddress(String address)
Checks whether the specified address is an address and throws and exception if the address is invalid.
|
static boolean |
InputValidator.checkAddressWithoutChecksum(String address)
Checks whether the specified address is an address without checksum
and throws and exception if the address is invalid.
|
int[] |
Signing.digests(int[] key)
Digests hashes each segment of each key fragment 26 times and returns them.
|
String |
Multisig.getDigest(String seed,
int security,
int index) |
String |
Multisig.getKey(String seed,
int index,
int security)
Gets the key value of a seed
|
static boolean |
InputValidator.isAddressesArrayValid(String[] addresses)
Determines whether the specified addresses are valid.
|
static boolean |
InputValidator.isAddressesCollectionValid(List<String> addresses)
Determines whether the specified addresses are valid.
|
static boolean |
Checksum.isAddressWithChecksum(String address)
Check if specified address is an address with checksum.
|
static boolean |
Checksum.isAddressWithoutChecksum(String address)
Check if specified address is an address without checksum.
|
static boolean |
BundleValidator.isBundle(Bundle bundle)
Checks if a bundle is syntactically valid.
|
static boolean |
BundleValidator.isBundle(Bundle bundle,
Optional<SpongeFactory.Mode> customCurlMode)
Checks if a bundle is syntactically valid.
|
static boolean |
InputValidator.isTransfersCollectionValid(List<Transfer> transfers)
Determines whether the specified transfers are valid.
|
static boolean |
Checksum.isValidChecksum(String addressWithChecksum)
Determines whether the specified address with checksum has a valid checksum.
|
int[] |
Signing.key(int[] inSeed,
int index)
Generates the key which is needed as a part of address generation.
|
int[] |
Signing.key(int[] inSeed,
int index,
int security)
Generates the key which is needed as a part of address generation.
|
static String |
IotaAPIUtils.newAddress(AddressRequest addressRequest,
int index,
ICurl curl)
Generates a new address
|
static String |
IotaAPIUtils.newAddress(String seed,
int security,
int index,
boolean checksum,
ICurl curl)
Generates a new address
|
static String |
Checksum.removeChecksum(String address)
Remove the checksum to the specified address.
|
static List<String> |
IotaAPIUtils.signInputsAndReturn(String seed,
List<Input> inputs,
Bundle bundle,
List<String> signatureFragments,
ICurl curl)
Finalizes and signs the bundle transactions.
|
int[] |
Signing.subseed(int[] inSeed,
int index)
Returns the sub-seed trits given a seed and an index
|
static String |
TrytesConverter.trytesToAscii(String inputTrytes)
Converts Trytes of even length to an ASCII string.
|
Copyright © 2019. All rights reserved.