Package | Description |
---|---|
jota | |
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(String[] addresses,
Boolean inclusionStates)
Internal function to get the formatted bundles of a list of addresses.
|
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
|
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)
Find the transactions by tags
|
List<Transaction> |
IotaAPI.findTransactionsObjectsByHashes(String[] hashes)
Wrapper function: get trytes and turns into
Transaction objects. |
GetNewAddressResponse |
IotaAPI.generateNewAddresses(String seed,
int security,
boolean checksum,
int amount)
Generates new addresses, meaning addresses which were not spend from, according to the connected node.
|
GetNewAddressResponse |
IotaAPI.generateNewAddresses(String seed,
int security,
boolean checksum,
int index,
int amount)
Generates new addresses, meaning addresses which were not spend from, according to the connected node.
|
GetNewAddressResponse |
IotaAPI.generateNewAddresses(String seed,
int security,
boolean checksum,
int index,
int amount,
boolean addSpendAddresses)
Generates new addresses, meaning addresses which were not spend from, according to the connected node.
|
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(String seed,
int security,
boolean checksum,
int index,
int amount)
Generates
amount of addresses, starting from index
This does not mean that these addresses are safe to use (unspent) |
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.
|
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
|
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).
|
GetNewAddressResponse |
IotaAPI.getNewAddress(String seed,
int security,
int index,
boolean checksum,
int total,
boolean returnAll)
Deprecated.
|
GetNewAddressResponse |
IotaAPI.getNextAvailableAddress(String seed,
int security,
boolean checksum)
Checks all addresses until the first unspent address is found.
|
GetNewAddressResponse |
IotaAPI.getNextAvailableAddress(String seed,
int security,
boolean checksum,
int index)
Checks all addresses until the first unspent address is found.
|
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(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.
|
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.
|
protected static <tt> retrofit2.Response<tt> |
IotaAPICore.wrapCheckedException(retrofit2.Call<tt> call) |
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.
|
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(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 © 2018. All rights reserved.