diff --git a/README.md b/README.md
index 4f0fbc7e..9dcfc5ca 100644
--- a/README.md
+++ b/README.md
@@ -93,7 +93,7 @@ To install the IOTA Java client library and its dependencies, you can use one of
org.iotajotajar-with-dependencies
- 1.0.0-beta8
+ 1.0.0-beta9
```
@@ -120,7 +120,7 @@ To install the IOTA Java client library and its dependencies, you can use one of
```
3. Change the value of the `` tag to either a release number or the first 10 characters of a Git commit hash:
-`efdc784d8a9ef` or `1.0.0-beta8`
+`b703ef3c05f05` or `1.0.0-beta9`
**Note:** Find the latest version on the [Jitpack](https://jitpack.io/#iotaledger/iota-java) page.
@@ -262,6 +262,7 @@ class SendData {
## Change logs
+- Changes in [**1.0.0-beta9**](https://github.com/iotaledger/iota-java/compare/1.0.0-beta8...1.0.0-beta9)
- Changes in [**1.0.0-beta8**](https://github.com/iotaledger/iota-java/compare/1.0.0-beta7...1.0.0-beta8)
- Changes in [**1.0.0-beta7**](https://github.com/iotaledger/iota-java/compare/1.0.0-beta6...1.0.0-beta7)
- Changes in [**1.0.0-beta6**](https://github.com/iotaledger/iota-java/compare/1.0.0-beta5...1.0.0-beta6)
diff --git a/docs/iota-java/addNeighbors.md b/docs/iota-java/addNeighbors.md
index 7a62126f..edb5a11d 100644
--- a/docs/iota-java/addNeighbors.md
+++ b/docs/iota-java/addNeighbors.md
@@ -1,8 +1,8 @@
-# [addNeighbors](https://github.com/iotaledger/iota-java/blob/master/jota/src/main/java/org/iota/jota/IotaAPICore.java#L195)
+# [addNeighbors](https://github.com/iotaledger/iota-java/blob/master/jota/src/main/java/org/iota/jota/IotaAPICore.java#L192)
[AddNeighborsResponse](https://github.com/iotaledger/iota-java/blob/master/jota/src/main/java/org/iota/jota/dto/response/AddNeighborsResponse.java) addNeighbors(String[] uris)
-Temporarily add a list of neighbors to your node. The added neighbors will not be available after restart. Add the neighbors to your config file or supply them in the `-n` command line option if you want to add them permanently. The URI (Unique Resource Identification) for adding neighbors is: **tcp://IPADDRESS:PORT**
+Temporarily add a list of neighbors to your node. The added neighbors will not be available after restart. Add the neighbors to your config file or supply them in the `-n` command line option if you want to add them permanently. The URI (Unique Resource Identification) for adding neighbors is: **tcp://IPADDRESS:PORT**
> **Important note:** This API is currently in Beta and is subject to change. Use of these APIs in production applications is not supported.
## Input
diff --git a/docs/iota-java/addRemainder.md b/docs/iota-java/addRemainder.md
index 9a07084c..62545b14 100644
--- a/docs/iota-java/addRemainder.md
+++ b/docs/iota-java/addRemainder.md
@@ -1,5 +1,5 @@
-# [addRemainder](https://github.com/iotaledger/iota-java/blob/master/jota/src/main/java/org/iota/jota/IotaAPI.java#L1528)
+# [addRemainder](https://github.com/iotaledger/iota-java/blob/master/jota/src/main/java/org/iota/jota/IotaAPI.java#L1545)
List addRemainder(String seed , int security , List<[Input](https://github.com/iotaledger/iota-java/blob/master/jota/src/main/java/org/iota/jota/model/Input.java)> inputs , [Bundle](https://github.com/iotaledger/iota-java/blob/master/jota/src/main/java/org/iota/jota/model/Bundle.java) bundle , String tag , long totalValue , String remainderAddress , List signatureFragments)
Uses input, and adds to the bundle, untill `totalValue` is reached. If there is a remainder left on the last input, a remainder transfer is added.
@@ -14,7 +14,7 @@ Uses input, and adds to the bundle, untill `totalValue` is reached. If there is
| bundle | [Bundle](https://github.com/iotaledger/iota-java/blob/master/jota/src/main/java/org/iota/jota/model/Bundle.java) | Required | The [Bundle](https://github.com/iotaledger/iota-java/blob/master/jota/src/main/java/org/iota/jota/model/Bundle.java) to be populated. |
| tag | String | Required | The tag to add to each bundle entry (input and remainder) |
| totalValue | long | Required | The total value of the desired transaction |
-| remainderAddress | String | Required | The address used for sending the remainder value (of the last input). If this is `null`, [generateNewAddresses(AddressRequest)](https://github.com/iotaledger/iota-java/blob/master/jota/src/main/java/org/iota/jota/IotaAPI.java#L86) is used. |
+| remainderAddress | String | Required | The address used for sending the remainder value (of the last input). If this is `null`, [generateNewAddresses(AddressRequest)](https://github.com/iotaledger/iota-java/blob/master/jota/src/main/java/org/iota/jota/IotaAPI.java#L59) is used. |
| signatureFragments | List | Required | The signature fragments (message), used for signing.Should be 2187 characters long, can be padded with 9s. |
## Output
@@ -33,7 +33,7 @@ Uses input, and adds to the bundle, untill `totalValue` is reached. If there is
| API | Description |
|:---------------|:--------|
| [signInputsAndReturn(String, List, Bundle, List, org.iota.jota.pow.ICurl)](https://github.com/iotaledger/iota-java/blob/master/jota/src/main/java/org/iota/jota/utils/IotaAPIUtils.java#L79) | Finalizes and signs the bundle transactions. Bundle and inputs are assumed correct. |
-| [generateNewAddresses(AddressRequest)](https://github.com/iotaledger/iota-java/blob/master/jota/src/main/java/org/iota/jota/IotaAPI.java#L86) | Generates new addresses, meaning addresses which were not spend from, according to the connected node. Stops when [getAmount()](https://github.com/iotaledger/iota-java/blob/master/jota/src/main/java/org/iota/jota/builder/AddressRequest.java#L104) of unspent addresses are found, starting from [getIndex()](https://github.com/iotaledger/iota-java/blob/master/jota/src/main/java/org/iota/jota/builder/AddressRequest.java#L96) If [getAmount()](https://github.com/iotaledger/iota-java/blob/master/jota/src/main/java/org/iota/jota/builder/AddressRequest.java#L104) is set to 0, we will generate until the first unspent address is found, and stop. |
+| [generateNewAddresses(AddressRequest)](https://github.com/iotaledger/iota-java/blob/master/jota/src/main/java/org/iota/jota/IotaAPI.java#L59) | Generates new addresses, meaning addresses which were not spend from, according to the connected node. Stops when [getAmount()](https://github.com/iotaledger/iota-java/blob/master/jota/src/main/java/org/iota/jota/builder/AddressRequest.java#L104) of unspent addresses are found, starting from [getIndex()](https://github.com/iotaledger/iota-java/blob/master/jota/src/main/java/org/iota/jota/builder/AddressRequest.java#L96) If [getAmount()](https://github.com/iotaledger/iota-java/blob/master/jota/src/main/java/org/iota/jota/builder/AddressRequest.java#L104) is set to 0, we will generate until the first unspent address is found, and stop. |
## Example
@@ -41,7 +41,7 @@ Uses input, and adds to the bundle, untill `totalValue` is reached. If there is
IotaAPI iotaAPI = new IotaAPI.Builder().build();
try {
- List response = iotaAPI.addRemainder("YOUR9SECRET9SEED9999999...", 3, new List(new Input[]{inputs, inputs}), bundle, "TAG9ABDOZDTYHY9ALNTRW9WCINN", 515, "M9LNVCAWCXEYRAZQKONSQSWTCVZCMKEDDBUBEBRKLCETDNNNSYF9L9QEVSATNONEBRBQBN9EOUPOGGUTP", new List(new String[]{"KULNMSVMUAJJISRYBTEMGETHR ... LXLRMKDLRTFHPKYINRXIUUVMU", "EKOFHDI9IRIAC9OHQWVSTXMRG ... SCFMG9SFYDDFMISXTRDBIODLX"}));
+ List response = iotaAPI.addRemainder("YOUR9SECRET9SEED9999999...", 3, new List(new Input[]{inputs, inputs}), bundle, "TAG9ESM9JKKMYWIQLXTSKNG9ICY", 912, "UOCNUEYDUZKITYUO9XNLIVJ9ZUHYDUFRPLNNTAMYVACZBRGDQQ9NFRTOYMLPRNCSTIMWRXRFQRTLMNAFF", new List(new String[]{"KDYPIHXJPIIP9INGNCNLSRLYN ... IEMLKFQKANHJKCH9IEUWFAVIF", "UYTWBLJZPBRVCYMQYOLDSZVUB ... EJYWAEODCBCVXCDZY9WATFWZQ"}));
} catch (ArgumentException e) {
// Handle error
e.printStackTrace();
diff --git a/docs/iota-java/attachToTangle.md b/docs/iota-java/attachToTangle.md
index c35fa2e5..f2e75657 100644
--- a/docs/iota-java/attachToTangle.md
+++ b/docs/iota-java/attachToTangle.md
@@ -1,9 +1,9 @@
-# [attachToTangle](https://github.com/iotaledger/iota-java/blob/master/jota/src/main/java/org/iota/jota/IotaAPICore.java#L608)
+# [attachToTangle](https://github.com/iotaledger/iota-java/blob/master/jota/src/main/java/org/iota/jota/IotaAPICore.java#L673)
[GetAttachToTangleResponse](https://github.com/iotaledger/iota-java/blob/master/jota/src/main/java/org/iota/jota/dto/response/GetAttachToTangleResponse.java) attachToTangle(String trunkTransaction , String branchTransaction , Integer minWeightMagnitude , String[] trytes)
- Prepares the specified transactions (trytes) for attachment to the Tangle by doing Proof of Work. You need to supply `branchTransaction` as well as `trunkTransaction`. These are the tips which you're going to validate and reference with this transaction. These are obtainable by the `getTransactionsToApprove` API call.
- The returned value is a different set of tryte values which you can input into `broadcastTransactions` and `storeTransactions`.
+ Prepares the specified transactions (trytes) for attachment to the Tangle by doing Proof of Work. You need to supply `branchTransaction` as well as `trunkTransaction`. These are the tips which you're going to validate and reference with this transaction. These are obtainable by the `getTransactionsToApprove` API call.
+ The returned value is a different set of tryte values which you can input into `broadcastTransactions` and `storeTransactions`.
The last 243 trytes of the return value consist of the following: * `trunkTransaction`
* `branchTransaction`
* `nonce`
@@ -13,9 +13,9 @@
## Input
| Parameter | Type | Required or Optional | Description |
|:---------------|:--------|:--------| :--------|
-| trunkTransaction | String | Required | A reference to an external transaction (tip) used as trunk. The transaction with index 0 will have this tip in its trunk. All other transactions reference the previous transaction in the bundle (Their index-1). |
-| branchTransaction | String | Required | A reference to an external transaction (tip) used as branch. Each Transaction in the bundle will have this tip as their branch, except the last. The last one will have the branch in its trunk. |
-| minWeightMagnitude | Integer | Required | The amount of work we should do to confirm this transaction.Each 0-trit on the end of the transaction represents 1 magnitude.A 9-tryte represents 3 magnitudes, since a 9 is represented by 3 0-trits. Transactions with a different minWeightMagnitude are compatible. |
+| trunkTransaction | String | Required | A reference to an external transaction (tip) used as trunk. The transaction with index 0 will have this tip in its trunk. All other transactions reference the previous transaction in the bundle (Their index-1). |
+| branchTransaction | String | Required | A reference to an external transaction (tip) used as branch. Each Transaction in the bundle will have this tip as their branch, except the last. The last one will have the branch in its trunk. |
+| minWeightMagnitude | Integer | Required | The amount of work we should do to confirm this transaction. Each 0-trit on the end of the transaction represents 1 magnitude. A 9-tryte represents 3 magnitudes, since a 9 is represented by 3 0-trits. Transactions with a different minWeightMagnitude are compatible. |
| trytes | String[] | Required | The list of trytes to prepare for network attachment, by doing proof of work. |
## Output
@@ -38,7 +38,7 @@
IotaAPI iotaAPI = new IotaAPI.Builder().build();
try {
- GetAttachToTangleResponse response = iotaAPI.attachToTangle("RRSXEVDVMVKOGEQKUFWBMC9RWMCOKUAWALZTGM9LPMLJI9YWMMDUDTHEEYCCCVWTNSKMACASYYFVUDQL9", "YDQTZVCQTCBAJKTWRAGNFDTFHCWLIUYETWXTDIOPUDES9KHDCJLX9TPFEXOXZZUG9HXHWBETOIMHNBMFZ", 18, new String[]{"HUKVHVIHNEWTXKEQRALHL9CFJ ... AMO9XCEIYQBQIQPBKXENXTFGJ", "IW9LITHXLNDMUVPKNFOABAFOW ... QQUYIRBVKXEKFNXKQYLKNBNDD"});
+ GetAttachToTangleResponse response = iotaAPI.attachToTangle("FBTFLOILYWNA9PVDUWNE9SPX9EIK9JBQXDTQPRXOFQJQKZGBPWXQDZFICMHLIGGVNNANYRRORILNOUCCA", "LFSZUJXV9PUAPIPUKEZJKAARL9KASNDNIDF9ATELJBSZAKYEHKQEYQZGTOPFUJPOUVSZTMLWNFWFJVAKA", 18, new String[]{"SQUYGCCRJLCDUTLMZFURXXMIA ... HWRKYPLXANKUYOPBYTSMSZBNF", "NHWX9JCU9YHADD9R9YQCPUXCV ... UVFBPMPFRIU9KYFVCXCLNNJKV"});
} catch (ArgumentException e) {
// Handle error
e.printStackTrace();
diff --git a/docs/iota-java/attachToTangleLocalPow.md b/docs/iota-java/attachToTangleLocalPow.md
index bddb4781..0fb38cc2 100644
--- a/docs/iota-java/attachToTangleLocalPow.md
+++ b/docs/iota-java/attachToTangleLocalPow.md
@@ -1,9 +1,9 @@
-# [attachToTangleLocalPow](https://github.com/iotaledger/iota-java/blob/master/jota/src/main/java/org/iota/jota/IotaAPICore.java#L668)
+# [attachToTangleLocalPow](https://github.com/iotaledger/iota-java/blob/master/jota/src/main/java/org/iota/jota/IotaAPICore.java#L733)
[GetAttachToTangleResponse](https://github.com/iotaledger/iota-java/blob/master/jota/src/main/java/org/iota/jota/dto/response/GetAttachToTangleResponse.java) attachToTangleLocalPow(String trunkTransaction , String branchTransaction , Integer minWeightMagnitude , [IotaPoW](https://github.com/iotaledger/iota-java/blob/master/jota/src/main/java/org/iota/jota/IotaPoW.java) pow , String[] trytes)
- Prepares the specified transactions (trytes) for attachment to the Tangle by doing Proof of Work. You need to supply `branchTransaction` as well as `trunkTransaction`. These are the tips which you're going to validate and reference with this transaction. These are obtainable by the `getTransactionsToApprove` API call.
- The returned value is a different set of tryte values which you can input into `broadcastTransactions` and `storeTransactions`.
+ Prepares the specified transactions (trytes) for attachment to the Tangle by doing Proof of Work. You need to supply `branchTransaction` as well as `trunkTransaction`. These are the tips which you're going to validate and reference with this transaction. These are obtainable by the `getTransactionsToApprove` API call.
+ The returned value is a different set of tryte values which you can input into `broadcastTransactions` and `storeTransactions`.
The last 243 trytes of the return value consist of the following: * `trunkTransaction`
* `branchTransaction`
* `nonce`
@@ -13,9 +13,9 @@
## Input
| Parameter | Type | Required or Optional | Description |
|:---------------|:--------|:--------| :--------|
-| trunkTransaction | String | Required | A reference to an external transaction (tip) used as trunk. The transaction with index 0 will have this tip in its trunk. All other transactions reference the previous transaction in the bundle (Their index-1). |
-| branchTransaction | String | Required | A reference to an external transaction (tip) used as branch. Each Transaction in the bundle will have this tip as their branch, except the last. The last one will have the branch in its trunk. |
-| minWeightMagnitude | Integer | Required | The amount of work we should do to confirm this transaction.Each 0-trit on the end of the transaction represents 1 magnitude.A 9-tryte represents 3 magnitudes, since a 9 is represented by 3 0-trits. Transactions with a different minWeightMagnitude are compatible. |
+| trunkTransaction | String | Required | A reference to an external transaction (tip) used as trunk. The transaction with index 0 will have this tip in its trunk. All other transactions reference the previous transaction in the bundle (Their index-1). |
+| branchTransaction | String | Required | A reference to an external transaction (tip) used as branch. Each Transaction in the bundle will have this tip as their branch, except the last. The last one will have the branch in its trunk. |
+| minWeightMagnitude | Integer | Required | The amount of work we should do to confirm this transaction. Each 0-trit on the end of the transaction represents 1 magnitude. A 9-tryte represents 3 magnitudes, since a 9 is represented by 3 0-trits. Transactions with a different minWeightMagnitude are compatible. |
| pow | [IotaPoW](https://github.com/iotaledger/iota-java/blob/master/jota/src/main/java/org/iota/jota/IotaPoW.java) | Required | Method of proof of work |
| trytes | String[] | Required | The list of trytes to prepare for network attachment, by doing proof of work. |
@@ -39,7 +39,7 @@
IotaAPI iotaAPI = new IotaAPI.Builder().build();
try {
- GetAttachToTangleResponse response = iotaAPI.attachToTangleLocalPow("DQSUOEQAV9OQXZCXIZEEXPUJFGMOENTTHWAWXJGWIHDAYFPQCCYE9EBBAAMQSPXHDKYEBDJWJUPSVXEVH", "SDIRWOWZUGGBOJXSGXZ9KYDRSFAFOVSDNZFRP9K9OJPRSYHDJYMKTBVDLEARMMGJROQCQWKC9JACWBJXH", 18, pow, new String[]{"GYEXOBZRRWAWYQMHADRMXBKYZ ... CAZZYKPSHWMMOUMFKTUVQNLMP", "PROJPEXWYESTHIUVTPREDFCQU ... TUOVFCABJPVCXRBFLLWOGYJQX"});
+ GetAttachToTangleResponse response = iotaAPI.attachToTangleLocalPow("ZEUHPRRVDJWXDNNDZDOVCTRDX9CNWLEOOOL9YGWBDG9GDCKNJRVDNBSGUOEDFYSJXGK9XGLXYJNSPAAVD", "CDAYNRXIZHI9YH9KVYQITIYYPBHUJKWUYHGHKSHZMNRAPEWDIXJLVNAWJ9YYSUTWGOKYM9GLJOI9HSJQR", 18, pow, new String[]{"BKTWAJMAFRUAEBYSKKTVZMTTK ... VQNYXIYDMKYYXSYX9YEXPBEWP", "DYXAFPFWSKMSNVKMPQGPLTULJ ... I9YVTLPITIHWBNAMG9PXVFWGU"});
} catch (ArgumentException e) {
// Handle error
e.printStackTrace();
diff --git a/docs/iota-java/broadcastTransactions.md b/docs/iota-java/broadcastTransactions.md
index 1f6d9052..7d369de2 100644
--- a/docs/iota-java/broadcastTransactions.md
+++ b/docs/iota-java/broadcastTransactions.md
@@ -1,5 +1,5 @@
-# [broadcastTransactions](https://github.com/iotaledger/iota-java/blob/master/jota/src/main/java/org/iota/jota/IotaAPICore.java#L735)
+# [broadcastTransactions](https://github.com/iotaledger/iota-java/blob/master/jota/src/main/java/org/iota/jota/IotaAPICore.java#L800)
[BroadcastTransactionsResponse](https://github.com/iotaledger/iota-java/blob/master/jota/src/main/java/org/iota/jota/dto/response/BroadcastTransactionsResponse.java) broadcastTransactions(String[] trytes)
Broadcast a list of transactions to all neighbors. The trytes to be used for this call should be valid, attached transaction trytes. These trytes are returned by `attachToTangle`, or by doing proof of work somewhere else.
@@ -27,7 +27,7 @@ Broadcast a list of transactions to all neighbors. The trytes to be used for thi
IotaAPI iotaAPI = new IotaAPI.Builder().build();
try {
- BroadcastTransactionsResponse response = iotaAPI.broadcastTransactions(new String[]{"DXELUOEVEGVLFNTMTJUYWCLEU ... ZOXAMDGJRTAMORTGGSXR9YGDK", "TJCDHGEIDGSUINOJKTFGDELIT ... KCSPTGGBKJONJUEBOHASNYOTE"});
+ BroadcastTransactionsResponse response = iotaAPI.broadcastTransactions(new String[]{"CTTGZPZYWGTIFCOATTKASZDPX ... YNIXKJTKMXTEAKVSPXGGWMAVS", "VOGANNMOYEFITLNCMSAYZKNMC ... PQFPPCAHKHQ9YGWSWG9BZCVIB"});
} catch (ArgumentException e) {
// Handle error
e.printStackTrace();
diff --git a/docs/iota-java/bundlesFromAddresses.md b/docs/iota-java/bundlesFromAddresses.md
index ab59cb73..91dfbd30 100644
--- a/docs/iota-java/bundlesFromAddresses.md
+++ b/docs/iota-java/bundlesFromAddresses.md
@@ -1,5 +1,5 @@
-# [bundlesFromAddresses](https://github.com/iotaledger/iota-java/blob/master/jota/src/main/java/org/iota/jota/IotaAPI.java#L225)
+# [bundlesFromAddresses](https://github.com/iotaledger/iota-java/blob/master/jota/src/main/java/org/iota/jota/IotaAPI.java#L198)
[Bundle[]](https://github.com/iotaledger/iota-java/blob/master/jota/src/main/java/org/iota/jota/model/Bundle.java) bundlesFromAddresses(Boolean inclusionStates , String[] addresses)
Internal function to get the formatted bundles of a list of addresses.
@@ -29,7 +29,7 @@ Internal function to get the formatted bundles of a list of addresses.
IotaAPI iotaAPI = new IotaAPI.Builder().build();
try {
- Bundle[] response = iotaAPI.bundlesFromAddresses(true, new String[]{"QFMOVHMDGKAWVCNAVJOBAVMJQZRQSJITNEOHHORMTNKA9QTZVMLHKWZMTQXDSCOVZXQESHCGJ9ALATFLE", "RDSXBLCZYXCSBFVJKE9BIUKQZUOLMKXTW9TLHHZEAGFKFYZPDTA9IJHHPLQLEDXQHSXYAPXCMJATLZNZN"});
+ Bundle[] response = iotaAPI.bundlesFromAddresses(false, new String[]{"GJMJYQOFBZEAAYSNZTNWSHHKPYPDWKBXFVIGXGXCRMLRBG9VOYMRYG9CZADARYUFYTQOTTHTKVDGGUCAP", "TJOESBMUBBLAPDRXTJOZVZEJHTEMLRILLPXKJH9LXOXJP9ILYZPQJOFQKZTREGXBTQEDXEXWBJLRCMUSJ"});
} catch (ArgumentException e) {
// Handle error
e.printStackTrace();
diff --git a/docs/iota-java/callIxi.md b/docs/iota-java/callIxi.md
index 322f4912..3e3a71d1 100644
--- a/docs/iota-java/callIxi.md
+++ b/docs/iota-java/callIxi.md
@@ -1,5 +1,5 @@
-# [callIxi](https://github.com/iotaledger/iota-java/blob/master/jota/src/main/java/org/iota/jota/IotaAPICore.java#L289)
+# [callIxi](https://github.com/iotaledger/iota-java/blob/master/jota/src/main/java/org/iota/jota/IotaAPICore.java#L286)
[IotaCustomResponse](https://github.com/iotaledger/iota-java/blob/master/jota/src/main/java/org/iota/jota/dto/response/IotaCustomResponse.java) callIxi(String module , Map params)
Custom API call used to call IXI modules.
@@ -31,13 +31,7 @@ Custom API call used to call IXI modules.
IotaAPI iotaAPI = new IotaAPI.Builder().build();
try {
- Map params = new HashMap<>();
- params.put("customparam", "somevariable");
- IotaCustomResponse res = api.callIxi("customixi.customcall", params);
- System.out.println("Duration: " + res.getDuration());
- for (String key : res.getIxi().keySet()) {
- System.out.println(key + ": " + res.getArg(key));
- }
+ IotaCustomResponse response = iotaAPI.callIxi("TAOTL9BR9HPYKZOGQUJPZVOKGDCQOAFKYFZKIVI9ZCWLCAKQPYDZAAJ9FAMBOTATZF9JWCZOFCMWAUOLQ", new Map(new String[]{"GMSEPVFAEQIRRIVHDPZBOQLXXATFLNKWPQ9BZAH9YCQSSSAXPHIOPAZCANQBZODNBGREJCXVZ9VBQTDTV", "VCKZAAYMQ9VBJ9XMAPVTEXEA9ORODPGNUAVLBPGEROKWPLKVJQBMWDNRPFDVITNDMQY9UVGCSXLHKHSFG"}));
} catch (ArgumentException e) {
// Handle error
e.printStackTrace();
diff --git a/docs/iota-java/checkConsistency.md b/docs/iota-java/checkConsistency.md
index cce44aba..9d30b11c 100644
--- a/docs/iota-java/checkConsistency.md
+++ b/docs/iota-java/checkConsistency.md
@@ -1,5 +1,5 @@
-# [checkConsistency](https://github.com/iotaledger/iota-java/blob/master/jota/src/main/java/org/iota/jota/IotaAPICore.java#L563)
+# [checkConsistency](https://github.com/iotaledger/iota-java/blob/master/jota/src/main/java/org/iota/jota/IotaAPICore.java#L628)
[CheckConsistencyResponse](https://github.com/iotaledger/iota-java/blob/master/jota/src/main/java/org/iota/jota/dto/response/CheckConsistencyResponse.java) checkConsistency(String[] tails)
Checks the consistency of the subtangle formed by the provided tails.
@@ -30,7 +30,7 @@ Checks the consistency of the subtangle formed by the provided tails.
IotaAPI iotaAPI = new IotaAPI.Builder().build();
try {
- CheckConsistencyResponse response = iotaAPI.checkConsistency(new String[]{"ULIYGFYFAVGNOWKTSJDRBIWUXHJGZDXDVLFJWKNFMJGDSLKEOLSSSWG9PHRHSPHWVHFIHMAUVDOWWSMPN", "CKBRRWMWKWYMXKVPOOVACNHLTLR9EOGWBAIAMNGO9JZOJCLIRJBAUEXCZ9QHYYOXKDCSOJLSMXRYLSFXN"});
+ CheckConsistencyResponse response = iotaAPI.checkConsistency(new String[]{"ZRJMXSYCCYEOASWAQ9IUBBMQJWGQERRMHDSUEJUNFUMYIOLJBALPYUBPCRPOFUFDLNTFXIEEAVBXHRGTX", "BNSOYBRJVWUQEYSBCZSEHYNWFLMDJ9KIUUSATBNAELQQHSSAGHHZJDVYETGGCODLEEIZOFYEJMABEVWUI"});
} catch (ArgumentException e) {
// Handle error
e.printStackTrace();
diff --git a/docs/iota-java/checkWereAddressSpentFrom.md b/docs/iota-java/checkWereAddressSpentFrom.md
index f09a1884..1c863440 100644
--- a/docs/iota-java/checkWereAddressSpentFrom.md
+++ b/docs/iota-java/checkWereAddressSpentFrom.md
@@ -1,5 +1,5 @@
-# [checkWereAddressSpentFrom](https://github.com/iotaledger/iota-java/blob/master/jota/src/main/java/org/iota/jota/IotaAPI.java#L951)
+# [checkWereAddressSpentFrom](https://github.com/iotaledger/iota-java/blob/master/jota/src/main/java/org/iota/jota/IotaAPI.java#L948)
boolean[] checkWereAddressSpentFrom(String[] addresses)
Check if a list of addresses was ever spent from, in the current epoch, or in previous epochs. Addresses must have a checksum.
@@ -27,7 +27,7 @@ Check if a list of addresses was ever spent from, in the current epoch, or in pr
IotaAPI iotaAPI = new IotaAPI.Builder().build();
try {
- boolean[] response = iotaAPI.checkWereAddressSpentFrom(new String[]{"YHQTREAPJAWWHCWMLLDIAPRSNQC9BBTNTPJIDOFFNAIYPJYQVUSLYJNIPJMEKHSLXLA9VQACFNCJ9PHUX", "KULBDGDTGPYYBCOUQHMVE9ROCRDTBKGWHXXU9KZIVYTOOQRRVQBCWEQAF9CZVSPMOPSIIKCVVKOY9O9XU"});
+ boolean[] response = iotaAPI.checkWereAddressSpentFrom(new String[]{"ZCIEIMTDHRZQCGOJYGRZKCMWHWTWMUMNBSCV9FRREWMJSGBRGGTRYODUTR9HCDQDSBBRQXRYLVIDVSNE9", "LULCN9TSLLENBKFHCXILZTIVYWSE9DJBCDKYSPKKOXTCKMZIEDBGKNYBGLBQO9IXQ9OYNPTMVGFSKZRFB"});
} catch (ArgumentException e) {
// Handle error
e.printStackTrace();
diff --git a/docs/iota-java/findTransactionObjectsByAddresses.md b/docs/iota-java/findTransactionObjectsByAddresses.md
index 08d8bc53..1b5f0013 100644
--- a/docs/iota-java/findTransactionObjectsByAddresses.md
+++ b/docs/iota-java/findTransactionObjectsByAddresses.md
@@ -1,5 +1,5 @@
-# [findTransactionObjectsByAddresses](https://github.com/iotaledger/iota-java/blob/master/jota/src/main/java/org/iota/jota/IotaAPI.java#L398)
+# [findTransactionObjectsByAddresses](https://github.com/iotaledger/iota-java/blob/master/jota/src/main/java/org/iota/jota/IotaAPI.java#L371)
List<[Transaction](https://github.com/iotaledger/iota-java/blob/master/jota/src/main/java/org/iota/jota/model/Transaction.java)> findTransactionObjectsByAddresses(String[] addresses)
Wrapper function: Finds transactions, gets trytes and turns it into [Transaction](https://github.com/iotaledger/iota-java/blob/master/jota/src/main/java/org/iota/jota/model/Transaction.java) objects.
@@ -41,8 +41,8 @@ List<[Transaction](https://github.com/iotaledger/iota-java/blob/master/jota/src/
## Related APIs (link to other product documentation)
| API | Description |
|:---------------|:--------|
-| [findTransactionsByAddresses(String...)](https://github.com/iotaledger/iota-java/blob/master/jota/src/main/java/org/iota/jota/IotaAPICore.java#L304) | Find the transactions by addresses with checksum |
-| [findTransactionsObjectsByHashes](https://github.com/iotaledger/iota-java/blob/master/jota/src/main/java/org/iota/jota/IotaAPI.java#L372) | Wrapper function: get trytes and turns into [Transaction](https://github.com/iotaledger/iota-java/blob/master/jota/src/main/java/org/iota/jota/model/Transaction.java) objects. Gets the trytes and transaction object from a list of transaction hashes. |
+| [findTransactionsByAddresses(String...)](https://github.com/iotaledger/iota-java/blob/master/jota/src/main/java/org/iota/jota/IotaAPICore.java#L301) | Find the transactions by addresses with checksum |
+| [findTransactionsObjectsByHashes](https://github.com/iotaledger/iota-java/blob/master/jota/src/main/java/org/iota/jota/IotaAPI.java#L345) | Wrapper function: get trytes and turns into [Transaction](https://github.com/iotaledger/iota-java/blob/master/jota/src/main/java/org/iota/jota/model/Transaction.java) objects. Gets the trytes and transaction object from a list of transaction hashes. |
## Example
@@ -50,7 +50,7 @@ List<[Transaction](https://github.com/iotaledger/iota-java/blob/master/jota/src/
IotaAPI iotaAPI = new IotaAPI.Builder().build();
try {
- List response = iotaAPI.findTransactionObjectsByAddresses(new String[]{"VCSNM9QDBSPEWCTMAENLINILBOCCYIOQCPAPXUP9IOEGKJEU9DDBNVBMZQVZCFW9XXSSZGK9DKTNKWKEW", "JDTOMEHWOGSBSFX9NXFSPWCZFZVBBXRJUHSRCZEQPJ9AG9AGYKJMAZ9VOXLVYNIDDAMGUVRAHXLWXMVSI"});
+ List response = iotaAPI.findTransactionObjectsByAddresses(new String[]{"DKYLGQUWGJRJYDXKQJCSXANVVOFTAPYG9OMKBECNIANXWJKWWC9LIJSE9PMJIVASCRCAUGSXDNJARQWZM", "ZVODFHGBVYPXBDSGCVLDFKNZRFMNDGJIMPQXFBNEAAMGRIDFQDLH9QFHAQUIKUXQMZZMUTNAYJLYWJTZP"});
} catch (ArgumentException e) {
// Handle error
e.printStackTrace();
diff --git a/docs/iota-java/findTransactionObjectsByApprovees.md b/docs/iota-java/findTransactionObjectsByApprovees.md
index f3451e18..c5fda64d 100644
--- a/docs/iota-java/findTransactionObjectsByApprovees.md
+++ b/docs/iota-java/findTransactionObjectsByApprovees.md
@@ -1,5 +1,5 @@
-# [findTransactionObjectsByApprovees](https://github.com/iotaledger/iota-java/blob/master/jota/src/main/java/org/iota/jota/IotaAPI.java#L437)
+# [findTransactionObjectsByApprovees](https://github.com/iotaledger/iota-java/blob/master/jota/src/main/java/org/iota/jota/IotaAPI.java#L410)
List<[Transaction](https://github.com/iotaledger/iota-java/blob/master/jota/src/main/java/org/iota/jota/model/Transaction.java)> findTransactionObjectsByApprovees(String[] approvees)
Wrapper function: Finds transactions, gets trytes and turns it into [Transaction](https://github.com/iotaledger/iota-java/blob/master/jota/src/main/java/org/iota/jota/model/Transaction.java) objects.
@@ -41,7 +41,7 @@ List<[Transaction](https://github.com/iotaledger/iota-java/blob/master/jota/src/
## Related APIs (link to other product documentation)
| API | Description |
|:---------------|:--------|
-| [findTransactionsByApprovees](https://github.com/iotaledger/iota-java/blob/master/jota/src/main/java/org/iota/jota/IotaAPICore.java#L332) | Find the transactions by approvees |
+| [findTransactionsByApprovees](https://github.com/iotaledger/iota-java/blob/master/jota/src/main/java/org/iota/jota/IotaAPICore.java#L329) | Find the transactions by approvees |
## Example
@@ -49,7 +49,7 @@ List<[Transaction](https://github.com/iotaledger/iota-java/blob/master/jota/src/
IotaAPI iotaAPI = new IotaAPI.Builder().build();
try {
- List response = iotaAPI.findTransactionObjectsByApprovees(new String[]{"HWFUORISLUWUYVQLM9GEVPKP9OYGHZFVLLLYVTNLVLAG9NO9CGC9CQBNXWAVNPWYJXSWFQA9GWLWNBVAF", "YTCZAHBLCETSLYLKIVKMWAJWSORFVBYWJKOHGKU9BTEYLK9FTLHVAWR9YGXRCZBYBZUDCLJIINVTTZNQG"});
+ List response = iotaAPI.findTransactionObjectsByApprovees(new String[]{"K9DWNJZQWVBTHKS9XIIYJORXSOEANWEKVLEQMUBOOHWPBRISSCSILGLXAOUMY99DUNEPOHSJCYJIFFLNG", "AVIVUFEGVMGBDQZXXMDIIYAUIZJOGSSQEEPW9GAXNSEZMZ9DHIEPLGWKZDGWIQAYCPBPYTVSZQC9GMOQH"});
} catch (ArgumentException e) {
// Handle error
e.printStackTrace();
diff --git a/docs/iota-java/findTransactionObjectsByBundle.md b/docs/iota-java/findTransactionObjectsByBundle.md
index b96c9171..55d1ef4b 100644
--- a/docs/iota-java/findTransactionObjectsByBundle.md
+++ b/docs/iota-java/findTransactionObjectsByBundle.md
@@ -1,5 +1,5 @@
-# [findTransactionObjectsByBundle](https://github.com/iotaledger/iota-java/blob/master/jota/src/main/java/org/iota/jota/IotaAPI.java#L456)
+# [findTransactionObjectsByBundle](https://github.com/iotaledger/iota-java/blob/master/jota/src/main/java/org/iota/jota/IotaAPI.java#L429)
List<[Transaction](https://github.com/iotaledger/iota-java/blob/master/jota/src/main/java/org/iota/jota/model/Transaction.java)> findTransactionObjectsByBundle(String[] bundles)
Wrapper function: Finds transactions, gets trytes and turns it into [Transaction](https://github.com/iotaledger/iota-java/blob/master/jota/src/main/java/org/iota/jota/model/Transaction.java) objects.
@@ -41,7 +41,7 @@ List<[Transaction](https://github.com/iotaledger/iota-java/blob/master/jota/src/
## Related APIs (link to other product documentation)
| API | Description |
|:---------------|:--------|
-| [findTransactionsByBundles](https://github.com/iotaledger/iota-java/blob/master/jota/src/main/java/org/iota/jota/IotaAPICore.java#L319) | Find the transactions by bundles |
+| [findTransactionsByBundles](https://github.com/iotaledger/iota-java/blob/master/jota/src/main/java/org/iota/jota/IotaAPICore.java#L316) | Find the transactions by bundles |
## Example
@@ -49,7 +49,7 @@ List<[Transaction](https://github.com/iotaledger/iota-java/blob/master/jota/src/
IotaAPI iotaAPI = new IotaAPI.Builder().build();
try {
- List response = iotaAPI.findTransactionObjectsByBundle(new String[]{"MKGOCXRXMVANORMTJYFRLNBAGGUH9DAJGDJLAYGJIERYUHXPPWWRFNWGFAJCQCTUEGGCLSBDVGKHTS9UW", "IDMKCKPYABMGSFONQPLHUZXCEEWVJMZCBSLUQCJTFREAOZKHNRSERVYLWUVVZRVONSSPVHNKL9XZZOCQE"});
+ List response = iotaAPI.findTransactionObjectsByBundle(new String[]{"LAIWZMGWEHVZRGRHNUVBXOALJWNICVPDFFKHPONXTJMSABOH9RNEAAXIUXZXXOHVYHNERHGSHANULOJOY", "PTNCILSJZXBD9QDBBOZFLDUKVJFSFEDBFRAWFLKSRHKIJKFYHBTBLAUVYCIJEFAAMZXDSIMDXJQIPBATF"});
} catch (ArgumentException e) {
// Handle error
e.printStackTrace();
diff --git a/docs/iota-java/findTransactionObjectsByTag.md b/docs/iota-java/findTransactionObjectsByTag.md
index 71770cb0..67d73a14 100644
--- a/docs/iota-java/findTransactionObjectsByTag.md
+++ b/docs/iota-java/findTransactionObjectsByTag.md
@@ -1,5 +1,5 @@
-# [findTransactionObjectsByTag](https://github.com/iotaledger/iota-java/blob/master/jota/src/main/java/org/iota/jota/IotaAPI.java#L418)
+# [findTransactionObjectsByTag](https://github.com/iotaledger/iota-java/blob/master/jota/src/main/java/org/iota/jota/IotaAPI.java#L391)
List<[Transaction](https://github.com/iotaledger/iota-java/blob/master/jota/src/main/java/org/iota/jota/model/Transaction.java)> findTransactionObjectsByTag(String[] tags)
Wrapper function: Finds transactions, gets trytes and turns it into [Transaction](https://github.com/iotaledger/iota-java/blob/master/jota/src/main/java/org/iota/jota/model/Transaction.java) objects.
@@ -41,8 +41,8 @@ List<[Transaction](https://github.com/iotaledger/iota-java/blob/master/jota/src/
## Related APIs (link to other product documentation)
| API | Description |
|:---------------|:--------|
-| [findTransactionsByTags(String...)](https://github.com/iotaledger/iota-java/blob/master/jota/src/main/java/org/iota/jota/IotaAPICore.java#L360) | Find the transactions by tags |
-| [findTransactionsObjectsByHashes](https://github.com/iotaledger/iota-java/blob/master/jota/src/main/java/org/iota/jota/IotaAPI.java#L372) | Wrapper function: get trytes and turns into [Transaction](https://github.com/iotaledger/iota-java/blob/master/jota/src/main/java/org/iota/jota/model/Transaction.java) objects. Gets the trytes and transaction object from a list of transaction hashes. |
+| [findTransactionsByTags(String...)](https://github.com/iotaledger/iota-java/blob/master/jota/src/main/java/org/iota/jota/IotaAPICore.java#L356) | Find the transactions by tags |
+| [findTransactionsObjectsByHashes](https://github.com/iotaledger/iota-java/blob/master/jota/src/main/java/org/iota/jota/IotaAPI.java#L345) | Wrapper function: get trytes and turns into [Transaction](https://github.com/iotaledger/iota-java/blob/master/jota/src/main/java/org/iota/jota/model/Transaction.java) objects. Gets the trytes and transaction object from a list of transaction hashes. |
## Example
@@ -50,7 +50,7 @@ List<[Transaction](https://github.com/iotaledger/iota-java/blob/master/jota/src/
IotaAPI iotaAPI = new IotaAPI.Builder().build();
try {
- List response = iotaAPI.findTransactionObjectsByTag(new String[]{"TAG9DKZQQPWFFFFLKPTHDMWZYTT", "TAG9Y9RDVC99ZLXVPIBY9WMTUCZ"});
+ List response = iotaAPI.findTransactionObjectsByTag(new String[]{"TAG9ZTMIOWQANOUFNDJNPIIHZSS", "TAG9YAFGL9ALGOTQTKXWN9SRWST"});
} catch (ArgumentException e) {
// Handle error
e.printStackTrace();
diff --git a/docs/iota-java/findTransactions.md b/docs/iota-java/findTransactions.md
index b0894356..fb226a57 100644
--- a/docs/iota-java/findTransactions.md
+++ b/docs/iota-java/findTransactions.md
@@ -1,5 +1,5 @@
-# [findTransactions](https://github.com/iotaledger/iota-java/blob/master/jota/src/main/java/org/iota/jota/IotaAPICore.java#L248)
+# [findTransactions](https://github.com/iotaledger/iota-java/blob/master/jota/src/main/java/org/iota/jota/IotaAPICore.java#L245)
[FindTransactionResponse](https://github.com/iotaledger/iota-java/blob/master/jota/src/main/java/org/iota/jota/dto/response/FindTransactionResponse.java) findTransactions(String[] addresses , String[] tags , String[] approvees , String[] bundles)
Find the transactions which match the specified input and return. All input values are lists, for which a list of return values (transaction hashes), in the same order, is returned for all individual elements. The input fields can either be `bundles`, `addresses`, `tags` or `approvees`.
@@ -34,7 +34,7 @@
IotaAPI iotaAPI = new IotaAPI.Builder().build();
try {
- FindTransactionResponse response = iotaAPI.findTransactions(new String[]{"99IYUIAEJYWH9HWBDGBRBULXGVEDIBVKFODRDLRAVRKXLTXUKQVPJRCXCQSLQRAKMECRSZPLFVFCMHRWB", "BAJNKKDKKP9DMMS9VMVSEEGBCLW9OLGNJSKRECPMJCETRIKNJBFOFKNSDYRSTXLDLFIEMJCNRYRYQVUYY"}, new String[]{"TAG9HHMUPDCCJHTFIVMDTPVREYV", "TAG9A9TSRQEEGPIFRDCLSBPBP9W"}, new String[]{"RYYLBCWSLJCFYXGXNQNRSORDCQ9GTFEKREMJJUKJDRIURPVGGOGAYPWUBGGVNXQSWFEQMAQZHTDCPWJEI", "NBAVOQXXBBROPHQO9QBKBVVUPBAAKEQKJVIJ9NGMWFYXYKKPKEQXQUHBOFRAALW99UHIRRRTMLFFPPRIS"}, new String[]{"BV9ZYJAFMKABNA9CVRXGAIHLSPAQX9USLURNNXJRZTEBQ9RUQQGMAJRGTABHGNDUTAUZZZQWIGLZEWFQY", "SLNUHDVDINIJRYBKVXOXPLQPELDDQFOEYDJKLNZAMWYTYBZOHCIGOGSZXIGDJNMQZZWHYBBXSY9TXNSSZ"});
+ FindTransactionResponse response = iotaAPI.findTransactions(new String[]{"HYDQKLICCRNJIGUWADSCXKPGQDBGM9NAYFTXTWACGCCRFFNTSPCORYDTFL9HSPAFXDXVZQAFUHDPCVEZS", "RVPEUHEKB9KVINKVTPMCYZLAFCHEGLDQC9Y9ZHISAGKT9ECGCNELELJEQB9CGDCJASOW9KXHDS9BOUPTX"}, new String[]{"TAG9MTJDPURKDGT9AXPVQZBILBQ", "TAG9LOKRKWXSSHOJKA9WTNLOTZA"}, new String[]{"WFXPHUDKZSSMOCIZUKAWBWBZVQPSZFSHADAJQZYQVIKYZABDSRNLAMERJKTSY9N9LYRUQJHKFCDFWQY9E", "STAQJZMMTSPMUKUL9KPFFKHTZFGLFTFSIWLGXPQ9IOIHMJGJBQNWGCLQUTBLDQRLGVPXHOKSTTPFECGNK"}, new String[]{"ACPVHRXNKXQBTDUCGPEXAVOCJRFNRKFWNBZJFCQDORADTELDYXXBBNUDEYQXQRLIASHSNFMBIUCEXRCCB", "UEQGRYMVAIJJYCHSEDBJOQFVAXRPZZYDAQBURXBBUQNJCGWUKWFZOOLKENMA9GEGPCLROYJJVCDBVFKSA"});
} catch (ArgumentException e) {
// Handle error
e.printStackTrace();
diff --git a/docs/iota-java/findTransactionsByAddresses.md b/docs/iota-java/findTransactionsByAddresses.md
index c274d3ba..8d824277 100644
--- a/docs/iota-java/findTransactionsByAddresses.md
+++ b/docs/iota-java/findTransactionsByAddresses.md
@@ -1,5 +1,5 @@
-# [findTransactionsByAddresses](https://github.com/iotaledger/iota-java/blob/master/jota/src/main/java/org/iota/jota/IotaAPICore.java#L304)
+# [findTransactionsByAddresses](https://github.com/iotaledger/iota-java/blob/master/jota/src/main/java/org/iota/jota/IotaAPICore.java#L301)
[FindTransactionResponse](https://github.com/iotaledger/iota-java/blob/master/jota/src/main/java/org/iota/jota/dto/response/FindTransactionResponse.java) findTransactionsByAddresses(String[] addresses)
Find the transactions by addresses with checksum
@@ -30,7 +30,7 @@ Find the transactions by addresses with checksum
IotaAPI iotaAPI = new IotaAPI.Builder().build();
try {
- FindTransactionResponse response = iotaAPI.findTransactionsByAddresses(new String[]{"YFKPGRTWIUGYNLJFKNYOBVMSAANNM9RGFWUPIQZFDTLTJOCYGRWRSOWZRDIQNRYSNOPOUDPZKTZLWZAWP", "CABNRPMYNEPXMGCXYC99CIQMWPW9PLVALMPFOKWXDRFIAMIFTGOSINIMDPALDFZUOFMMECAIJZMWRIGCC"});
+ FindTransactionResponse response = iotaAPI.findTransactionsByAddresses(new String[]{"V9XGWHCWIIZABIVUHAQPPXPBOZUWEDKHRUYDOTSHZKECZWQAYDXEARNMRESKADNGQD9UHYOGFNAADJNVR", "QWILXTUPKNE9EQGIH9TDROMIHAUGEXWBWTCVLOTWLVWQYDBBYJX9FUDHPCVMLSMVWJEEFQ9EGFUQLXVAQ"});
} catch (ArgumentException e) {
// Handle error
e.printStackTrace();
diff --git a/docs/iota-java/findTransactionsByApprovees.md b/docs/iota-java/findTransactionsByApprovees.md
index edf17071..96bf21ce 100644
--- a/docs/iota-java/findTransactionsByApprovees.md
+++ b/docs/iota-java/findTransactionsByApprovees.md
@@ -1,5 +1,5 @@
-# [findTransactionsByApprovees](https://github.com/iotaledger/iota-java/blob/master/jota/src/main/java/org/iota/jota/IotaAPICore.java#L332)
+# [findTransactionsByApprovees](https://github.com/iotaledger/iota-java/blob/master/jota/src/main/java/org/iota/jota/IotaAPICore.java#L329)
[FindTransactionResponse](https://github.com/iotaledger/iota-java/blob/master/jota/src/main/java/org/iota/jota/dto/response/FindTransactionResponse.java) findTransactionsByApprovees(String[] approvees)
Find the transactions by approvees
@@ -30,7 +30,7 @@ Find the transactions by approvees
IotaAPI iotaAPI = new IotaAPI.Builder().build();
try {
- FindTransactionResponse response = iotaAPI.findTransactionsByApprovees(new String[]{"EF9ERYFEAHNKEYSDEBRPOZOQMIY9RKRJRJPP9CYABUGOWLYGCCUCRTJGTUZTCYUEEPOYHGT9YXCITAJRY", "WEDEONNNVKJNIKMKHJEEBJHESTVNFQOFVVWVEENGCRYEQDU9KNEABRTHDEMIMUTWD9JK9RLUX9WSNYSOG"});
+ FindTransactionResponse response = iotaAPI.findTransactionsByApprovees(new String[]{"WRZKQIGAUPXYGMYAOXUHIHOMKCXOTBYYF9PGATBFBGQQWXML9Z9ACGDVUXORPBJFAPIEDLZVUZRSLWLCP", "LPDTYZZGJBRLXOSDVVDRPTLQYACLUOBOVYAU9OBRUMLLFVDQSMVGVRP9SMLDFABSNDFIZYLAVCACMOPW9"});
} catch (ArgumentException e) {
// Handle error
e.printStackTrace();
diff --git a/docs/iota-java/findTransactionsByBundles.md b/docs/iota-java/findTransactionsByBundles.md
index fedaca28..e58ca3cf 100644
--- a/docs/iota-java/findTransactionsByBundles.md
+++ b/docs/iota-java/findTransactionsByBundles.md
@@ -1,5 +1,5 @@
-# [findTransactionsByBundles](https://github.com/iotaledger/iota-java/blob/master/jota/src/main/java/org/iota/jota/IotaAPICore.java#L319)
+# [findTransactionsByBundles](https://github.com/iotaledger/iota-java/blob/master/jota/src/main/java/org/iota/jota/IotaAPICore.java#L316)
[FindTransactionResponse](https://github.com/iotaledger/iota-java/blob/master/jota/src/main/java/org/iota/jota/dto/response/FindTransactionResponse.java) findTransactionsByBundles(String[] bundles)
Find the transactions by bundles
@@ -30,7 +30,7 @@ Find the transactions by bundles
IotaAPI iotaAPI = new IotaAPI.Builder().build();
try {
- FindTransactionResponse response = iotaAPI.findTransactionsByBundles(new String[]{"MFXJXGOUOJCOWXABCVLFSMKRSNPQIYTCVIBH9MARPXJHNUAPVXITOQENNMJYAJVDUYPHLNJZFKGNPUZGH", "FHTFADVQFROCQHSNRFHPWIDPQFAAYJZIURVFXINMWJP9BYYT9UBDTZLPHHYQJSFYVTTNYGMNVNJWELXJX"});
+ FindTransactionResponse response = iotaAPI.findTransactionsByBundles(new String[]{"RLDXLTTJDKMKLYMIRGVWOZNJ9KBTUTJKSTNIXBWQFTGXQKTCWPJJ9RUP9WHZMADDMO9S9SHOFKGY9A9QH", "WNLUTUFSNMGDSXEE9IJDFBYUJGORUVFZUHUFB9HSETSBTVGTHIXRJYDWWDS9AVNIW9QOHEFJGBQMDTFKC"});
} catch (ArgumentException e) {
// Handle error
e.printStackTrace();
diff --git a/docs/iota-java/findTransactionsByTags.md b/docs/iota-java/findTransactionsByTags.md
index 94721fbd..c7e25a33 100644
--- a/docs/iota-java/findTransactionsByTags.md
+++ b/docs/iota-java/findTransactionsByTags.md
@@ -1,5 +1,5 @@
-# [findTransactionsByTags](https://github.com/iotaledger/iota-java/blob/master/jota/src/main/java/org/iota/jota/IotaAPICore.java#L360)
+# [findTransactionsByTags](https://github.com/iotaledger/iota-java/blob/master/jota/src/main/java/org/iota/jota/IotaAPICore.java#L356)
[FindTransactionResponse](https://github.com/iotaledger/iota-java/blob/master/jota/src/main/java/org/iota/jota/dto/response/FindTransactionResponse.java) findTransactionsByTags(String[] tags)
Find the transactions by tags
@@ -30,7 +30,7 @@ Find the transactions by tags
IotaAPI iotaAPI = new IotaAPI.Builder().build();
try {
- FindTransactionResponse response = iotaAPI.findTransactionsByTags(new String[]{"TAG99AQMIUVIHPTZHXAKUYLFSLZ", "TAG9DLJGRWUYHEYFQORDSPIHCDI"});
+ FindTransactionResponse response = iotaAPI.findTransactionsByTags(new String[]{"TAG9FGOUU9WQIQIWMKLKEKYYGSF", "TAG9BFDUXLTJWANPF9EBDIIQRNG"});
} catch (ArgumentException e) {
// Handle error
e.printStackTrace();
diff --git a/docs/iota-java/findTransactionsObjectsByHashes.md b/docs/iota-java/findTransactionsObjectsByHashes.md
index d5250e0f..822342bc 100644
--- a/docs/iota-java/findTransactionsObjectsByHashes.md
+++ b/docs/iota-java/findTransactionsObjectsByHashes.md
@@ -1,5 +1,5 @@
-# [findTransactionsObjectsByHashes](https://github.com/iotaledger/iota-java/blob/master/jota/src/main/java/org/iota/jota/IotaAPI.java#L372)
+# [findTransactionsObjectsByHashes](https://github.com/iotaledger/iota-java/blob/master/jota/src/main/java/org/iota/jota/IotaAPI.java#L345)
List<[Transaction](https://github.com/iotaledger/iota-java/blob/master/jota/src/main/java/org/iota/jota/model/Transaction.java)> findTransactionsObjectsByHashes(String[] hashes)
Wrapper function: get trytes and turns into [Transaction](https://github.com/iotaledger/iota-java/blob/master/jota/src/main/java/org/iota/jota/model/Transaction.java) objects. Gets the trytes and transaction object from a list of transaction hashes.
@@ -41,7 +41,7 @@ List<[Transaction](https://github.com/iotaledger/iota-java/blob/master/jota/src/
## Related APIs (link to other product documentation)
| API | Description |
|:---------------|:--------|
-| [getTrytes(String...)](https://github.com/iotaledger/iota-java/blob/master/jota/src/main/java/org/iota/jota/IotaAPICore.java#L409) | Returns the raw transaction data (trytes) of a specific transaction. These trytes can then be easily converted into the actual transaction object. You can use [Transaction(String)](https://github.com/iotaledger/iota-java/blob/master/jota/src/main/java/org/iota/jota/model/Transaction.java#L145) for conversion to an object. |
+| [getTrytes(String...)](https://github.com/iotaledger/iota-java/blob/master/jota/src/main/java/org/iota/jota/IotaAPICore.java#L397) | Returns the raw transaction data (trytes) of a specific transaction. These trytes can then be easily converted into the actual transaction object. You can use [Transaction(String)](https://github.com/iotaledger/iota-java/blob/master/jota/src/main/java/org/iota/jota/model/Transaction.java#L145) for conversion to an object. |
## Example
@@ -49,7 +49,7 @@ List<[Transaction](https://github.com/iotaledger/iota-java/blob/master/jota/src/
IotaAPI iotaAPI = new IotaAPI.Builder().build();
try {
- List response = iotaAPI.findTransactionsObjectsByHashes(new String[]{"XQNBPQUNGNMRSPGVJWOXRZEFO9J9TQQNQGP9PGPAQZFLSPJFUUDOAVYKVGQFDEQQEMA9XMBVGMLGYOOKR", "TAPEIGTIARIX9MVXBEEKPNSWXROMANQXAKEMQNECSB9L9COEDLK9ESTFRHDWYQOZQTIMTLMJFCKCWZEPH"});
+ List response = iotaAPI.findTransactionsObjectsByHashes(new String[]{"TLUXQXQMPPRHBINVJBEWNDMKUECGBMTRJZMFQZNRVTCGOJSWYYJVFSWFAVCKSPTPCIZFTYOGUCGAGUCGF", "IVQCDMYUDD9DNIQNWJLQGROJGVPUSRSLXVUQXWTPMDOZETJNJGSKRWYEPFUZABJNXXMIFFKAD9FC9HUEK"});
} catch (ArgumentException e) {
// Handle error
e.printStackTrace();
diff --git a/docs/iota-java/generateNewAddresses.md b/docs/iota-java/generateNewAddresses.md
index ca39cfc3..a3b8ef09 100644
--- a/docs/iota-java/generateNewAddresses.md
+++ b/docs/iota-java/generateNewAddresses.md
@@ -1,5 +1,5 @@
-# [generateNewAddresses](https://github.com/iotaledger/iota-java/blob/master/jota/src/main/java/org/iota/jota/IotaAPI.java#L86)
+# [generateNewAddresses](https://github.com/iotaledger/iota-java/blob/master/jota/src/main/java/org/iota/jota/IotaAPI.java#L59)
[GetNewAddressResponse](https://github.com/iotaledger/iota-java/blob/master/jota/src/main/java/org/iota/jota/dto/response/GetNewAddressResponse.java) generateNewAddresses([AddressRequest](https://github.com/iotaledger/iota-java/blob/master/jota/src/main/java/org/iota/jota/builder/AddressRequest.java) addressRequest)
Generates new addresses, meaning addresses which were not spend from, according to the connected node. Stops when [getAmount()](https://github.com/iotaledger/iota-java/blob/master/jota/src/main/java/org/iota/jota/builder/AddressRequest.java#L104) of unspent addresses are found, starting from [getIndex()](https://github.com/iotaledger/iota-java/blob/master/jota/src/main/java/org/iota/jota/builder/AddressRequest.java#L96) If [getAmount()](https://github.com/iotaledger/iota-java/blob/master/jota/src/main/java/org/iota/jota/builder/AddressRequest.java#L104) is set to 0, we will generate until the first unspent address is found, and stop.
diff --git a/docs/iota-java/getAccountData.md b/docs/iota-java/getAccountData.md
index df1678ff..14e4d4d6 100644
--- a/docs/iota-java/getAccountData.md
+++ b/docs/iota-java/getAccountData.md
@@ -1,5 +1,5 @@
-# [getAccountData](https://github.com/iotaledger/iota-java/blob/master/jota/src/main/java/org/iota/jota/IotaAPI.java#L915)
+# [getAccountData](https://github.com/iotaledger/iota-java/blob/master/jota/src/main/java/org/iota/jota/IotaAPI.java#L912)
[GetAccountDataResponse](https://github.com/iotaledger/iota-java/blob/master/jota/src/main/java/org/iota/jota/dto/response/GetAccountDataResponse.java) 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
@@ -38,7 +38,7 @@ Similar to getTransfers, just that it returns additional account data
## Related APIs (link to other product documentation)
| API | Description |
|:---------------|:--------|
-| [getTransfers(String, int, Integer, Integer, Boolean)](https://github.com/iotaledger/iota-java/blob/master/jota/src/main/java/org/iota/jota/IotaAPI.java#L183) | Finds all the bundles for all the addresses based on this seed and security. |
+| [getTransfers(String, int, Integer, Integer, Boolean)](https://github.com/iotaledger/iota-java/blob/master/jota/src/main/java/org/iota/jota/IotaAPI.java#L156) | Finds all the bundles for all the addresses based on this seed and security. |
## Example
@@ -46,7 +46,7 @@ Similar to getTransfers, just that it returns additional account data
IotaAPI iotaAPI = new IotaAPI.Builder().build();
try {
- GetAccountDataResponse response = iotaAPI.getAccountData("YOUR9SECRET9SEED9999999...", 3, 762, true, 961, false, 165, 355, false, 100);
+ GetAccountDataResponse response = iotaAPI.getAccountData("YOUR9SECRET9SEED9999999...", 3, 669, true, 296, false, 919, 727, false, 100);
} catch (ArgumentException e) {
// Handle error
e.printStackTrace();
diff --git a/docs/iota-java/getAddressesUnchecked.md b/docs/iota-java/getAddressesUnchecked.md
index 3491087b..461c5029 100644
--- a/docs/iota-java/getAddressesUnchecked.md
+++ b/docs/iota-java/getAddressesUnchecked.md
@@ -1,5 +1,5 @@
-# [getAddressesUnchecked](https://github.com/iotaledger/iota-java/blob/master/jota/src/main/java/org/iota/jota/IotaAPI.java#L158)
+# [getAddressesUnchecked](https://github.com/iotaledger/iota-java/blob/master/jota/src/main/java/org/iota/jota/IotaAPI.java#L131)
[GetNewAddressResponse](https://github.com/iotaledger/iota-java/blob/master/jota/src/main/java/org/iota/jota/dto/response/GetNewAddressResponse.java) getAddressesUnchecked([AddressRequest](https://github.com/iotaledger/iota-java/blob/master/jota/src/main/java/org/iota/jota/builder/AddressRequest.java) addressRequest)
Generates `amount` of addresses, starting from `index` This does not mean that these addresses are safe to use (unspent)
diff --git a/docs/iota-java/getBalanceAndFormat.md b/docs/iota-java/getBalanceAndFormat.md
index 38e36920..a4ad0a2f 100644
--- a/docs/iota-java/getBalanceAndFormat.md
+++ b/docs/iota-java/getBalanceAndFormat.md
@@ -1,5 +1,5 @@
-# [getBalanceAndFormat](https://github.com/iotaledger/iota-java/blob/master/jota/src/main/java/org/iota/jota/IotaAPI.java#L814)
+# [getBalanceAndFormat](https://github.com/iotaledger/iota-java/blob/master/jota/src/main/java/org/iota/jota/IotaAPI.java#L811)
[GetBalancesAndFormatResponse](https://github.com/iotaledger/iota-java/blob/master/jota/src/main/java/org/iota/jota/dto/response/GetBalancesAndFormatResponse.java) getBalanceAndFormat(List addresses , List tips , long threshold , int start , [StopWatch](https://github.com/iotaledger/iota-java/blob/master/jota/src/main/java/org/iota/jota/utils/StopWatch.java) stopWatch , int security)
Gets the balances and formats the output.
@@ -36,7 +36,7 @@ Gets the balances and formats the output.
IotaAPI iotaAPI = new IotaAPI.Builder().build();
try {
- GetBalancesAndFormatResponse response = iotaAPI.getBalanceAndFormat(new List(new String[]{"EL9DIAGOQH9WERZBNQSDCSXFBCZOOLLTTSFBGCLPGUXRIZFSAUMTPCSZOGUYRHEVQMDRTKBMBHGUNFGJM", "DLKVGUAVFDAXVW9XPARTIAETQLAJWSLVTNDTPFBKTSXCRF9SAGZRUDFODGYOURNUX9XBXGISDYXYQTZKF"}), new List(new String[]{"KBXVGDKAQWTVULGSOFF9SZNGQRTQRNNSGRSFXXDFCUGRITCPE9WBHCCUAPZOGOTOOHZGL9RRKQ9YBRNFB", "UEUCZOCNJJDDXAXWMDQACJIMVIISTJTGPGGPYQNTJRSYVNLEMUWVYNOPQZIJMJTOACWBULJUJVYWFATJY"}), 100, 655, new Stopwatch(), 3);
+ GetBalancesAndFormatResponse response = iotaAPI.getBalanceAndFormat(new List(new String[]{"XOPEQVJLDUBAJTVGEAOHSGCTLAWLLBAKSINYKDJAWMKNDSKZHHTPMMGJBBGEPBPWLZZNZNP9BNRXRHWXA", "JS9LKLBOXDDXYEURAKFUCBGB9FTWTDLWQMIKWXOBYDCSK9RPZREDYLLICFDCWOXXZHUTJNXJGZUADYICM"}), new List(new String[]{"FFNINIXBDQU9FPALBDRKYRJDAIDHXTIMDGGJIZEOKWJLOBBQPSVDIFFEWYCQLBGQQNBVSYJAV9SHUTLWH", "EPALLFZECREPUEAFVKTHGGEAZZMUHVOKMP9ZQEWIBXLCJWM999WTCGWGAPKWQHRLIBVLBBIQQJFV9ZIDY"}), 100, 953, new Stopwatch(), 3);
} catch (ArgumentException e) {
// Handle error
e.printStackTrace();
diff --git a/docs/iota-java/getBalances(addresses).md b/docs/iota-java/getBalances(addresses).md
new file mode 100644
index 00000000..1d4e48ee
--- /dev/null
+++ b/docs/iota-java/getBalances(addresses).md
@@ -0,0 +1,40 @@
+
+# [getBalances](https://github.com/iotaledger/iota-java/blob/master/jota/src/main/java/org/iota/jota/IotaAPICore.java#L579)
+ [GetBalancesResponse](https://github.com/iotaledger/iota-java/blob/master/jota/src/main/java/org/iota/jota/dto/response/GetBalancesResponse.java) getBalances(List addresses)
+
+ Calculates the confirmed balance, as viewed by the latest solid milestone. In addition to the balances, it also returns the referencing `milestone`, and the index with which the confirmed balance was determined. The balances are returned as a list in the same order as the addresses were provided as input.
+
+> **Important note:** This API is currently in Beta and is subject to change. Use of these APIs in production applications is not supported.
+
+## Input
+| Parameter | Type | Required or Optional | Description |
+|:---------------|:--------|:--------| :--------|
+| addresses | List | Required | The list of addresses you want to get the confirmed balance from. Must contain the checksum. |
+
+## Output
+[GetBalancesResponse](https://github.com/iotaledger/iota-java/blob/master/jota/src/main/java/org/iota/jota/dto/response/GetBalancesResponse.java), which contains the following fields:
+| Return type | Description |
+|--|--|
+| Long duration | Gets the duration. |
+| String[] references | Gets the references this balance was requested through |
+| int milestoneIndex | Gets the milestone index. |
+| String[] balances | Gets the balances. |
+
+## Exceptions
+| Exceptions | Description |
+|:---------------|:--------|
+| [ArgumentException](https://github.com/iotaledger/iota-java/blob/master/jota/src/main/java/org/iota/jota/error/ArgumentException.java) | The request was considered wrong in any way by the node |
+
+
+ ## Example
+
+ ```Java
+ IotaAPI iotaAPI = new IotaAPI.Builder().build();
+
+try {
+ GetBalancesResponse response = iotaAPI.getBalances(new List(new String[]{"DQPXOWNJPIJXYRBDJLZPPCOFCKMAEXJMVOUZYPY9GWFBVMMJCUJQQNYLPEBJBQCOLEJPEZQYWVZBYJY9K", "BNOLEEPRZOFAYEPKXEMRXDZFSPJWTRCUBKDMPWKOVZGKCLMIC99KPITNNRXZHYVJLXHKY9URNUFVBHBLL"}));
+} catch (ArgumentException e) {
+ // Handle error
+ e.printStackTrace();
+}
+ ```
diff --git a/docs/iota-java/getBalances(addresses, tips).md b/docs/iota-java/getBalances(addresses, tips).md
new file mode 100644
index 00000000..dc6e3bac
--- /dev/null
+++ b/docs/iota-java/getBalances(addresses, tips).md
@@ -0,0 +1,41 @@
+
+# [getBalances](https://github.com/iotaledger/iota-java/blob/master/jota/src/main/java/org/iota/jota/IotaAPICore.java#L532)
+ [GetBalancesResponse](https://github.com/iotaledger/iota-java/blob/master/jota/src/main/java/org/iota/jota/dto/response/GetBalancesResponse.java) getBalances(List addresses , List tips)
+
+ Calculates the confirmed balance, as viewed by the specified `tips`. If you do not specify the referencing `tips`, the returned balance is based on the latest confirmed milestone. In addition to the balances, it also returns the referencing `tips` (or milestone), as well as the index with which the confirmed balance was determined. The balances are returned as a list in the same order as the addresses were provided as input.
+
+> **Important note:** This API is currently in Beta and is subject to change. Use of these APIs in production applications is not supported.
+
+## Input
+| Parameter | Type | Required or Optional | Description |
+|:---------------|:--------|:--------| :--------|
+| addresses | List | Required | The addresses where we will find the balance for. Must contain the checksum. |
+| tips | List | Required | The tips to find the balance through. Can be `null` |
+
+## Output
+[GetBalancesResponse](https://github.com/iotaledger/iota-java/blob/master/jota/src/main/java/org/iota/jota/dto/response/GetBalancesResponse.java), which contains the following fields:
+| Return type | Description |
+|--|--|
+| Long duration | Gets the duration. |
+| String[] references | Gets the references this balance was requested through |
+| int milestoneIndex | Gets the milestone index. |
+| String[] balances | Gets the balances. |
+
+## Exceptions
+| Exceptions | Description |
+|:---------------|:--------|
+| [ArgumentException](https://github.com/iotaledger/iota-java/blob/master/jota/src/main/java/org/iota/jota/error/ArgumentException.java) | The request was considered wrong in any way by the node |
+
+
+ ## Example
+
+ ```Java
+ IotaAPI iotaAPI = new IotaAPI.Builder().build();
+
+try {
+ GetBalancesResponse response = iotaAPI.getBalances(new List(new String[]{"DPSLWRLVDSQBUKYYXVAQSHKNZHVFNZMG9UHXAPSFDKFWMIVJL9IQFKIGNRLABCVGTTDOCNYBKQHPT9HOI", "ZEDT9UOTUSQVZULPDLEJJKKDPKSUDNHIPMVSUNCEA9SRVOEJEGWVSXONYFJGRFCTR9PSVPNVDCMTOIA9I"}), new List(new String[]{"B9UDXTHLUYNTGSBLUQPTFBWMJERNOV9QTCVRVOGVHAECFIEAGRARNRSPZUAUTAJRTVVWGVPZXVHLEOOXQ", "JAWMKNUVVVHYEHWJCNXSCRVGKMCHCYOLLJ9XLNZVCFUVATOTSNGFPQVLQICLXXVMKQOQDZMHQFSGS9MAP"}));
+} catch (ArgumentException e) {
+ // Handle error
+ e.printStackTrace();
+}
+ ```
diff --git a/docs/iota-java/getBalances(threshold, addresses).md b/docs/iota-java/getBalances(threshold, addresses).md
index a63294e6..95642753 100644
--- a/docs/iota-java/getBalances(threshold, addresses).md
+++ b/docs/iota-java/getBalances(threshold, addresses).md
@@ -1,8 +1,9 @@
-# [getBalances](https://github.com/iotaledger/iota-java/blob/master/jota/src/main/java/org/iota/jota/IotaAPICore.java#L535)
+# [getBalances](https://github.com/iotaledger/iota-java/blob/master/jota/src/main/java/org/iota/jota/IotaAPICore.java#L600)
+@Deprecated
[GetBalancesResponse](https://github.com/iotaledger/iota-java/blob/master/jota/src/main/java/org/iota/jota/dto/response/GetBalancesResponse.java) getBalances(Integer threshold , List addresses)
- Calculates the confirmed balance, as viewed by the latest solid milestone. In addition to the balances, it also returns the referencing `milestone`, and the index with which the confirmed balance was determined. The balances are returned as a list in the same order as the addresses were provided as input.
+ Calculates the confirmed balance, as viewed by the latest solid milestone. In addition to the balances, it also returns the referencing `milestone`, and the index with which the confirmed balance was determined. The balances are returned as a list in the same order as the addresses were provided as input.
> **Important note:** This API is currently in Beta and is subject to change. Use of these APIs in production applications is not supported.
@@ -33,7 +34,7 @@
IotaAPI iotaAPI = new IotaAPI.Builder().build();
try {
- GetBalancesResponse response = iotaAPI.getBalances(100, new List(new String[]{"GCRESZFGIT9PZSQSFFJAUVGYLNQNNZWMLOCPYMUTHPCLURBLHFIHKONJRDS9EBEAGJ9ZLDUILMMRBDNKC", "JWIICZDUPTZIZNBSDLTKOUCNLY9FMYOKFBKCEQA9AFUITHDDXSVNIXFRCIDANOLZWNZEGNPCR9DKZIRY9"}));
+ GetBalancesResponse response = iotaAPI.getBalances(100, new List(new String[]{"BXXZEVETBHGGFY9ANQDREMN9AQDCVOMXVRNFVIINYLQ9HQBTMODITUCSABAFJWZEDCRMSDWDDKYIULOGG", "VSH9TEHHDJJRDIQGJMQQUBOTILCRKCGWSKDVSQCVGM9GWZGQOYPBZPEXRTKAIZDTFDJVQ9KPJAWYZZHZM"}));
} catch (ArgumentException e) {
// Handle error
e.printStackTrace();
diff --git a/docs/iota-java/getBalances(threshold, addresses, tips).md b/docs/iota-java/getBalances(threshold, addresses, tips).md
index c9a801dc..98066c4d 100644
--- a/docs/iota-java/getBalances(threshold, addresses, tips).md
+++ b/docs/iota-java/getBalances(threshold, addresses, tips).md
@@ -1,15 +1,16 @@
-# [getBalances](https://github.com/iotaledger/iota-java/blob/master/jota/src/main/java/org/iota/jota/IotaAPICore.java#L514)
+# [getBalances](https://github.com/iotaledger/iota-java/blob/master/jota/src/main/java/org/iota/jota/IotaAPICore.java#L559)
+@Deprecated
[GetBalancesResponse](https://github.com/iotaledger/iota-java/blob/master/jota/src/main/java/org/iota/jota/dto/response/GetBalancesResponse.java) getBalances(Integer threshold , List addresses , List tips)
- Calculates the confirmed balance, as viewed by the specified `tips`. If you do not specify the referencing `tips`, the returned balance is based on the latest confirmed milestone. In addition to the balances, it also returns the referencing `tips` (or milestone), as well as the index with which the confirmed balance was determined. The balances are returned as a list in the same order as the addresses were provided as input.
+ Calculates the confirmed balance, as viewed by the specified `tips`. If you do not specify the referencing `tips`, the returned balance is based on the latest confirmed milestone. In addition to the balances, it also returns the referencing `tips` (or milestone), as well as the index with which the confirmed balance was determined. The balances are returned as a list in the same order as the addresses were provided as input.
> **Important note:** This API is currently in Beta and is subject to change. Use of these APIs in production applications is not supported.
## Input
| Parameter | Type | Required or Optional | Description |
|:---------------|:--------|:--------| :--------|
-| threshold | Integer | Required | The confirmation threshold between 0 and 100(inclusive). Should be set to 100 for getting balance by counting only confirmed transactions. |
+| threshold | Integer | Required | The confirmation threshold between 0 and 100(inclusive). Should be set to 100 for getting balance by counting only confirmed transactions. |
| addresses | List | Required | The addresses where we will find the balance for. Must contain the checksum. |
| tips | List | Required | The tips to find the balance through. Can be `null` |
@@ -22,10 +23,6 @@
| int milestoneIndex | Gets the milestone index. |
| String[] balances | Gets the balances. |
-## Exceptions
-| Exceptions | Description |
-|:---------------|:--------|
-| [ArgumentException](https://github.com/iotaledger/iota-java/blob/master/jota/src/main/java/org/iota/jota/error/ArgumentException.java) | The request was considered wrong in any way by the node |
## Example
@@ -34,7 +31,7 @@
IotaAPI iotaAPI = new IotaAPI.Builder().build();
try {
- GetBalancesResponse response = iotaAPI.getBalances(100, new List(new String[]{"DUSNC9EASHDYAGBPEUKFP9BYYVNRXIZKKIUBJVKCEHKEKGVMRWOSHNSYCJFFAXJZVVGAJAYTZSRBKGMWW", "KQZXRPPWHZALGWOZLACSSEFSCFO9TZHAWTRAGKZFCTXKOVHFICTGMY9DCIVXUH9HLINZKR9VRAVC9S9EB"}), new List(new String[]{"UKMSN9AXIZWGIPVB9RLZCVT9OAD9LKXTR9EET9VDJVFTAHFY9RC9RBABLEYLJHOHFTDVTGOXNIUKDRSRC", "IGXJNRGDUSJSVB9WBUSZOBBHALYYFWCYXQMOJOQEFIOXGKEKCXIPQRUOFDXCZYBWVTMTEZSJNPGROJKCQ"}));
+ GetBalancesResponse response = iotaAPI.getBalances(100, new List(new String[]{"VCZJWTIW9BNSPNCXLJUKUUQOCMHCUZGVOT9TSVVFFQBWIVMRPEAM99LPTQOZIJCSTSZLJDKWFLSNHQOSU", "PCQSKWHOIIHNTWXWEVBRCWNFFQXVLVYLTLRILPNPQAQWBRWDPKQKWYBPCEXMEW9QYCHQXMNPXTWQIBYVC"}), new List(new String[]{"V9ZHPBGWGKNCZNZDQGYHAVGBWPCOVTD9FYXYLTBELSDZPISPHDBYNXHBNXJQEEJCYCVMCIWRQGNAGIURV", "UYHKRXMJBMJVBKQBEHIGEYJ9REXUILCL9ALMO99T9NGO9GEVLPPQ9DP9XOUMSVTAFGKPELSTEEXAVHTBH"}));
} catch (ArgumentException e) {
// Handle error
e.printStackTrace();
diff --git a/docs/iota-java/getBalances.md b/docs/iota-java/getBalances.md
index d6841a7f..201859db 100644
--- a/docs/iota-java/getBalances.md
+++ b/docs/iota-java/getBalances.md
@@ -1,15 +1,14 @@
-# [getBalances](https://github.com/iotaledger/iota-java/blob/master/jota/src/main/java/org/iota/jota/IotaAPICore.java#L480)
- [GetBalancesResponse](https://github.com/iotaledger/iota-java/blob/master/jota/src/main/java/org/iota/jota/dto/response/GetBalancesResponse.java) getBalances(Integer threshold , String[] addresses , String[] tips)
+# [getBalances](https://github.com/iotaledger/iota-java/blob/master/jota/src/main/java/org/iota/jota/IotaAPICore.java#L465)
+ [GetBalancesResponse](https://github.com/iotaledger/iota-java/blob/master/jota/src/main/java/org/iota/jota/dto/response/GetBalancesResponse.java) getBalances(String[] addresses , String[] tips)
- Calculates the confirmed balance, as viewed by the specified `tips`. If you do not specify the referencing `tips`, the returned balance is based on the latest confirmed milestone. In addition to the balances, it also returns the referencing `tips` (or milestone), as well as the index with which the confirmed balance was determined. The balances are returned as a list in the same order as the addresses were provided as input.
+ Calculates the confirmed balance, as viewed by the specified `tips`. If you do not specify the referencing `tips`, the returned balance is based on the latest confirmed milestone. In addition to the balances, it also returns the referencing `tips` (or milestone), as well as the index with which the confirmed balance was determined. The balances are returned as a list in the same order as the addresses were provided as input.
> **Important note:** This API is currently in Beta and is subject to change. Use of these APIs in production applications is not supported.
## Input
| Parameter | Type | Required or Optional | Description |
|:---------------|:--------|:--------| :--------|
-| threshold | Integer | Required | The confirmation threshold between 0 and 100(inclusive). Should be set to 100 for getting balance by counting only confirmed transactions. |
| addresses | String[] | Required | The addresses where we will find the balance for. Must contain the checksum. |
| tips | String[] | Required | The optional tips to find the balance through. |
@@ -26,7 +25,6 @@
| Exceptions | Description |
|:---------------|:--------|
| [ArgumentException](https://github.com/iotaledger/iota-java/blob/master/jota/src/main/java/org/iota/jota/error/ArgumentException.java) | The request was considered wrong in any way by the node |
-| [ArgumentException](https://github.com/iotaledger/iota-java/blob/master/jota/src/main/java/org/iota/jota/error/ArgumentException.java) | The threshold is invalid |
| [ArgumentException](https://github.com/iotaledger/iota-java/blob/master/jota/src/main/java/org/iota/jota/error/ArgumentException.java) | The tips or addresses are invalid |
@@ -36,7 +34,7 @@
IotaAPI iotaAPI = new IotaAPI.Builder().build();
try {
- GetBalancesResponse response = iotaAPI.getBalances(100, new String[]{"GBCTSCIHKCISOTNN9NNXAAYWJFVKXAYNGVYCRBVPBMUDAGPOCBTIXUCHFHUYJFZSNOWVJVTTLVZ9C9WOC", "UBHI99YJLJIYULLQLPFJYSKZNUTNSKUO9MIUCPTPVHNOCEEOSYBBAVNSSUNVEGTAENJGPYDDBSFIHHQV9"}, new String[]{"DCBWRGQHLPNSQVBDJQKOZOGTPGBGQ9NVCBAUKVPAV9XVHEPJ9NPSNLASRMX9OAFKSNDWEJZVXMAMDUUNS", "LFFVAQPLDMNHADVJ9HXMHVDCFBZYPUPVPCTTHKXHTLS99ABNSMDQKISROCBYMGVCKZCGECVVGGLXAUONF"});
+ GetBalancesResponse response = iotaAPI.getBalances(new String[]{"BNEROXUNSXQOXUPPUNKLWRLXDFXWDAWYTXT9LZKCFCOHUOMPCXZLPUYLOMVQIUMQRMWP9OQIZSEHJGRUW", "KZLJK9MBVESBPOYIPAIVMJVZGXGPVUXXWHVISJMJMNDKTKUZUGWUDLRXXCPNQR9KBZ9FQREJUGKZD99QN"}, new String[]{"RRRURYNRORVJETYSUROGMS9DPQHQAJJA9FLLBLFO9CXVFZGJHMYSZZOHABZHLJUSRLZSOHJTDSQCTUWPM", "YHFHJFNENJYTMRXOGGNZKDBYZSXIMWUNYZUORVWAFNDPMWDADCO9XOLJLKXCPYOTKNYYAHNDHLGL9NYZ9"});
} catch (ArgumentException e) {
// Handle error
e.printStackTrace();
diff --git a/docs/iota-java/getBundle.md b/docs/iota-java/getBundle.md
index 7d976037..e1eda4c5 100644
--- a/docs/iota-java/getBundle.md
+++ b/docs/iota-java/getBundle.md
@@ -1,5 +1,5 @@
-# [getBundle](https://github.com/iotaledger/iota-java/blob/master/jota/src/main/java/org/iota/jota/IotaAPI.java#L876)
+# [getBundle](https://github.com/iotaledger/iota-java/blob/master/jota/src/main/java/org/iota/jota/IotaAPI.java#L873)
[GetBundleResponse](https://github.com/iotaledger/iota-java/blob/master/jota/src/main/java/org/iota/jota/dto/response/GetBundleResponse.java) getBundle(String transaction)
Gets the associated bundle transactions of a single transaction. Does validation of signatures, total sum as well as bundle order.
@@ -30,7 +30,7 @@ Gets the associated bundle transactions of a single transaction. Does validation
IotaAPI iotaAPI = new IotaAPI.Builder().build();
try {
- GetBundleResponse response = iotaAPI.getBundle("GUQXLBNYXSEVNAPNJ9L9ADZIHBHRVEH9VZURPUHGQEVAFCWIDKQWTKYPOFALYZNOWGRJQURNQBGFGQDM9");
+ GetBundleResponse response = iotaAPI.getBundle("VTKYNRNFXJC9BWCJZHFXLRVWLFEVCMZGUTY9CLXRCPTCHSRCLDUEICCLNTWAYGZMEHEGRXXZIVCUUAL9P");
} catch (ArgumentException e) {
// Handle error
e.printStackTrace();
diff --git a/docs/iota-java/getInclusionStates.md b/docs/iota-java/getInclusionStates.md
index a089f982..a3e5027d 100644
--- a/docs/iota-java/getInclusionStates.md
+++ b/docs/iota-java/getInclusionStates.md
@@ -1,8 +1,8 @@
-# [getInclusionStates](https://github.com/iotaledger/iota-java/blob/master/jota/src/main/java/org/iota/jota/IotaAPICore.java#L384)
- [GetInclusionStateResponse](https://github.com/iotaledger/iota-java/blob/master/jota/src/main/java/org/iota/jota/dto/response/GetInclusionStateResponse.java) getInclusionStates(String[] transactions , String[] tips)
+# [getInclusionStates](https://github.com/iotaledger/iota-java/blob/master/jota/src/main/java/org/iota/jota/IotaAPICore.java#L376)
+ [GetInclusionStateResponse](https://github.com/iotaledger/iota-java/blob/master/jota/src/main/java/org/iota/jota/dto/response/GetInclusionStateResponse.java) getInclusionStates(String[] transactions)
- Get the inclusion states of a set of transactions. This is for determining if a transaction was accepted and confirmed by the network or not. You can search for multiple tips (and thus, milestones) to get past inclusion states of transactions.
+ Get the inclusion states of a set of transactions. This is for determining if a transaction was accepted and confirmed by the network or not.
This API call returns a list of boolean values in the same order as the submitted transactions. Boolean values will be `true` for confirmed transactions, otherwise `false`.
> **Important note:** This API is currently in Beta and is subject to change. Use of these APIs in production applications is not supported.
@@ -11,7 +11,6 @@
| Parameter | Type | Required or Optional | Description |
|:---------------|:--------|:--------| :--------|
| transactions | String[] | Required | Array of transactions you want to get the inclusion state for. |
-| tips | String[] | Required | Array of tips (including milestones) you want to search for the inclusion state. |
## Output
[GetInclusionStateResponse](https://github.com/iotaledger/iota-java/blob/master/jota/src/main/java/org/iota/jota/dto/response/GetInclusionStateResponse.java), which contains the following fields:
@@ -25,7 +24,6 @@
|:---------------|:--------|
| [ArgumentException](https://github.com/iotaledger/iota-java/blob/master/jota/src/main/java/org/iota/jota/error/ArgumentException.java) | The request was considered wrong in any way by the node |
| [ArgumentException](https://github.com/iotaledger/iota-java/blob/master/jota/src/main/java/org/iota/jota/error/ArgumentException.java) | when a transaction hash is invalid |
-| [ArgumentException](https://github.com/iotaledger/iota-java/blob/master/jota/src/main/java/org/iota/jota/error/ArgumentException.java) | when a tip is invalid |
## Example
@@ -34,7 +32,7 @@
IotaAPI iotaAPI = new IotaAPI.Builder().build();
try {
- GetInclusionStateResponse response = iotaAPI.getInclusionStates(new String[]{"HUQLCQUAJDRTOOJMNVRLDFEDESKDKQDVXJNXQJNGGXAIRIQFWOJPTWTR9ALIFIZYUSBXFUUWBOMEELWBI", "IVVFEVFYVRWWANURCHQKMRSSGYIYFDQFL9LPLPCYXAUCGFPTHQNWE9DWHXDUSHGMFTQBJSYVYITMB9NBM"}, new String[]{"AQPJPOQRUZTZQZFWQIW9OGRCBIKDBPEGKYWICUSGNV9WXUCRPMJQBFFCJSXFATYXJMJCOBGZOOTIWHRPV", "QIMCPH9EFIYPFFEQUY9WNVYVZNOMZAJDXONKPKAZRTRBCWDDPAPEHJVPGHECHAFZIHCJOQ9RUGYBYOAVD"});
+ GetInclusionStateResponse response = iotaAPI.getInclusionStates(new String[]{"MKWDTZFTAQXGZQEUXYWOUQGOMMYUTZSQPXVOTZ9GAJJPQGOM9IHHCXQHVIDJWZNMSGWWEJVQUIMCLIDBH", "V9CIYAZGMUIKHXOGPWHDIRYVKXCOOMEXAKIWPRHPJGKQTBKCWLOIIJYAUGHCHRSKRHVJKKIYR9GJWZMF9"});
} catch (ArgumentException e) {
// Handle error
e.printStackTrace();
diff --git a/docs/iota-java/getInputs.md b/docs/iota-java/getInputs.md
index 939b3f3b..7140895e 100644
--- a/docs/iota-java/getInputs.md
+++ b/docs/iota-java/getInputs.md
@@ -1,5 +1,5 @@
-# [getInputs](https://github.com/iotaledger/iota-java/blob/master/jota/src/main/java/org/iota/jota/IotaAPI.java#L693)
+# [getInputs](https://github.com/iotaledger/iota-java/blob/master/jota/src/main/java/org/iota/jota/IotaAPI.java#L666)
[GetBalancesAndFormatResponse](https://github.com/iotaledger/iota-java/blob/master/jota/src/main/java/org/iota/jota/dto/response/GetBalancesAndFormatResponse.java) 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. Addresses are all with checksum appended
@@ -33,7 +33,7 @@ Gets the inputs of a seed If start, end and threshold are 0, checks everything u
## Related APIs (link to other product documentation)
| API | Description |
|:---------------|:--------|
-| [getBalanceAndFormat(List, List, long, int, StopWatch, int)](https://github.com/iotaledger/iota-java/blob/master/jota/src/main/java/org/iota/jota/IotaAPI.java#L814) | Gets the balances and formats the output. |
+| [getBalanceAndFormat(List, List, long, int, StopWatch, int)](https://github.com/iotaledger/iota-java/blob/master/jota/src/main/java/org/iota/jota/IotaAPI.java#L811) | Gets the balances and formats the output. |
## Example
@@ -41,7 +41,7 @@ Gets the inputs of a seed If start, end and threshold are 0, checks everything u
IotaAPI iotaAPI = new IotaAPI.Builder().build();
try {
- GetBalancesAndFormatResponse response = iotaAPI.getInputs("YOUR9SECRET9SEED9999999...", 3, 95, 23, 100, new String[]{"PJRGWNWMTSLKBIFF99Q9QLKRXICHXX9VITXLYPNLQCCSDJFDEHXBJDKGHJQSFJNOOLSYNTAGUGUTKYPQN", "ZHEDFRUOBQDOEMBPXRGBDOSBVAU9YACVKYWSZXBRKLNHSLOJKRMERONIGP9OQZWSCT9NGMWHMPQQDCGQQ"});
+ GetBalancesAndFormatResponse response = iotaAPI.getInputs("YOUR9SECRET9SEED9999999...", 3, 54, 541, 100, new String[]{"C9WGBTNYMZHMND9APO9KQZWUPTVOIVBZVKG9EEROXDWEFOGKBMDCX9SPSWFEREP9RTQPICNWVGSOTSAO9", "MFWORJEJYKKTZSERJYYYPNISLMIURLASYNLHGBJSEAJZP9BHDF9TPMTYXMXD9LF9ITVPLYKYHEIQNWTFI"});
} catch (ArgumentException e) {
// Handle error
e.printStackTrace();
diff --git a/docs/iota-java/getLatestInclusion.md b/docs/iota-java/getLatestInclusion.md
index 306e8c7f..a83e7895 100644
--- a/docs/iota-java/getLatestInclusion.md
+++ b/docs/iota-java/getLatestInclusion.md
@@ -1,8 +1,9 @@
-# [getLatestInclusion](https://github.com/iotaledger/iota-java/blob/master/jota/src/main/java/org/iota/jota/IotaAPI.java#L1076)
+# [getLatestInclusion](https://github.com/iotaledger/iota-java/blob/master/jota/src/main/java/org/iota/jota/IotaAPI.java#L1074)
+@Deprecated
[GetInclusionStateResponse](https://github.com/iotaledger/iota-java/blob/master/jota/src/main/java/org/iota/jota/dto/response/GetInclusionStateResponse.java) getLatestInclusion(String[] hashes)
-Wrapper function: runs getNodeInfo and getInclusionStates Uses the latest milestone as tip
+Deprecated: [getInclusionStates(String...)](https://github.com/iotaledger/iota-java/blob/master/jota/src/main/java/org/iota/jota/IotaAPICore.java#L376) is now always with the latest milestone Runs getInclusionStates
> **Important note:** This API is currently in Beta and is subject to change. Use of these APIs in production applications is not supported.
## Input
@@ -25,8 +26,7 @@ Wrapper function: runs getNodeInfo and getInclusionStates Uses the latest milest
## Related APIs (link to other product documentation)
| API | Description |
|:---------------|:--------|
-| [getNodeInfo()](https://github.com/iotaledger/iota-java/blob/master/jota/src/main/java/org/iota/jota/IotaAPICore.java#L153) | Returns information about this node. |
-| [getInclusionStates(String[], String[])](https://github.com/iotaledger/iota-java/blob/master/jota/src/main/java/org/iota/jota/IotaAPICore.java#L384) | Get the inclusion states of a set of transactions. This is for determining if a transaction was accepted and confirmed by the network or not. You can search for multiple tips (and thus, milestones) to get past inclusion states of transactions.
+| [getInclusionStates(String...)](https://github.com/iotaledger/iota-java/blob/master/jota/src/main/java/org/iota/jota/IotaAPICore.java#L376) | Get the inclusion states of a set of transactions. This is for determining if a transaction was accepted and confirmed by the network or not.
This API call returns a list of boolean values in the same order as the submitted transactions. Boolean values will be `true` for confirmed transactions, otherwise `false`.
|
@@ -36,7 +36,7 @@ Wrapper function: runs getNodeInfo and getInclusionStates Uses the latest milest
IotaAPI iotaAPI = new IotaAPI.Builder().build();
try {
- GetInclusionStateResponse response = iotaAPI.getLatestInclusion(new String[]{"QCEMFUQJNFAFCZKMHJERUUNJWJGZKNFKVSHBZGGLYCUOMRTTYDZBSNEDOJJGQQVBMVESPBLGGWFZILZRU", "9K9XOFRKUBSHCUCLCXHXDQVPOFBLKDZDVJZXQGNOBJESDAATOVGUMWEMAFLVCIEMLFBGEUTCRZJMSSAZI"});
+ GetInclusionStateResponse response = iotaAPI.getLatestInclusion(new String[]{"ZZIPIPIOCXUYQMRPPAX9MBIEXDVZM9ZMKQOHIWMVQZEMHTGEFVFC9XBKAIAUVIXVZYQKKQEVETTLGPTQN", "PHLQZTPGGBSPOIRCMCLHEEAMKZZQDOUIYBQFSVAACBJEGDSYPGDHJXYTOWODNZZBOTKQAFVHVLCEYHTUB"});
} catch (ArgumentException e) {
// Handle error
e.printStackTrace();
diff --git a/docs/iota-java/getNeighbors.md b/docs/iota-java/getNeighbors.md
index e211c92e..6853cebf 100644
--- a/docs/iota-java/getNeighbors.md
+++ b/docs/iota-java/getNeighbors.md
@@ -1,5 +1,5 @@
-# [getNeighbors](https://github.com/iotaledger/iota-java/blob/master/jota/src/main/java/org/iota/jota/IotaAPICore.java#L176)
+# [getNeighbors](https://github.com/iotaledger/iota-java/blob/master/jota/src/main/java/org/iota/jota/IotaAPICore.java#L173)
[GetNeighborsResponse](https://github.com/iotaledger/iota-java/blob/master/jota/src/main/java/org/iota/jota/dto/response/GetNeighborsResponse.java) getNeighbors()
Returns the set of neighbors you are connected with, as well as their activity statistics (or counters). The activity counters are reset after restarting IRI.
diff --git a/docs/iota-java/getNodeAPIConfiguration.md b/docs/iota-java/getNodeAPIConfiguration.md
index d72aeeb3..47bcb37c 100644
--- a/docs/iota-java/getNodeAPIConfiguration.md
+++ b/docs/iota-java/getNodeAPIConfiguration.md
@@ -1,5 +1,5 @@
-# [getNodeAPIConfiguration](https://github.com/iotaledger/iota-java/blob/master/jota/src/main/java/org/iota/jota/IotaAPICore.java#L164)
+# [getNodeAPIConfiguration](https://github.com/iotaledger/iota-java/blob/master/jota/src/main/java/org/iota/jota/IotaAPICore.java#L161)
[GetNodeAPIConfigurationResponse](https://github.com/iotaledger/iota-java/blob/master/jota/src/main/java/org/iota/jota/dto/response/GetNodeAPIConfigurationResponse.java) getNodeAPIConfiguration()
Returns information about this node.
diff --git a/docs/iota-java/getNodeInfo.md b/docs/iota-java/getNodeInfo.md
index 96262f04..c44a4dd1 100644
--- a/docs/iota-java/getNodeInfo.md
+++ b/docs/iota-java/getNodeInfo.md
@@ -1,5 +1,5 @@
-# [getNodeInfo](https://github.com/iotaledger/iota-java/blob/master/jota/src/main/java/org/iota/jota/IotaAPICore.java#L153)
+# [getNodeInfo](https://github.com/iotaledger/iota-java/blob/master/jota/src/main/java/org/iota/jota/IotaAPICore.java#L150)
[GetNodeInfoResponse](https://github.com/iotaledger/iota-java/blob/master/jota/src/main/java/org/iota/jota/dto/response/GetNodeInfoResponse.java) getNodeInfo()
Returns information about this node.
diff --git a/docs/iota-java/getTips.md b/docs/iota-java/getTips.md
index 946318f5..16a40d92 100644
--- a/docs/iota-java/getTips.md
+++ b/docs/iota-java/getTips.md
@@ -1,5 +1,5 @@
-# [getTips](https://github.com/iotaledger/iota-java/blob/master/jota/src/main/java/org/iota/jota/IotaAPICore.java#L224)
+# [getTips](https://github.com/iotaledger/iota-java/blob/master/jota/src/main/java/org/iota/jota/IotaAPICore.java#L221)
[GetTipsResponse](https://github.com/iotaledger/iota-java/blob/master/jota/src/main/java/org/iota/jota/dto/response/GetTipsResponse.java) getTips()
Returns all tips currently known by this node.
diff --git a/docs/iota-java/getTransactionsToApprove(depth).md b/docs/iota-java/getTransactionsToApprove(depth).md
index 2458b69c..d20206de 100644
--- a/docs/iota-java/getTransactionsToApprove(depth).md
+++ b/docs/iota-java/getTransactionsToApprove(depth).md
@@ -1,5 +1,5 @@
-# [getTransactionsToApprove](https://github.com/iotaledger/iota-java/blob/master/jota/src/main/java/org/iota/jota/IotaAPICore.java#L456)
+# [getTransactionsToApprove](https://github.com/iotaledger/iota-java/blob/master/jota/src/main/java/org/iota/jota/IotaAPICore.java#L444)
[GetTransactionsToApproveResponse](https://github.com/iotaledger/iota-java/blob/master/jota/src/main/java/org/iota/jota/dto/response/GetTransactionsToApproveResponse.java) getTransactionsToApprove(Integer depth)
Tip selection which returns `trunkTransaction` and `branchTransaction`. The input value `depth` determines how many milestones to go back for finding the transactions to approve. The higher your `depth` value, the more work you have to do as you are confirming more transactions. If the `depth` is too large (usually above 15, it depends on the node's configuration) an error will be returned. The `reference` is an optional hash of a transaction you want to approve. If it can't be found at the specified `depth` then an error will be returned.
diff --git a/docs/iota-java/getTransactionsToApprove.md b/docs/iota-java/getTransactionsToApprove.md
index 4b1e0f06..39466459 100644
--- a/docs/iota-java/getTransactionsToApprove.md
+++ b/docs/iota-java/getTransactionsToApprove.md
@@ -1,5 +1,5 @@
-# [getTransactionsToApprove](https://github.com/iotaledger/iota-java/blob/master/jota/src/main/java/org/iota/jota/IotaAPICore.java#L435)
+# [getTransactionsToApprove](https://github.com/iotaledger/iota-java/blob/master/jota/src/main/java/org/iota/jota/IotaAPICore.java#L423)
[GetTransactionsToApproveResponse](https://github.com/iotaledger/iota-java/blob/master/jota/src/main/java/org/iota/jota/dto/response/GetTransactionsToApproveResponse.java) getTransactionsToApprove(Integer depth , String reference)
Tip selection which returns `trunkTransaction` and `branchTransaction`. The input value `depth` determines how many milestones to go back for finding the transactions to approve. The higher your `depth` value, the more work you have to do as you are confirming more transactions. If the `depth` is too large (usually above 15, it depends on the node's configuration) an error will be returned. The `reference` is an optional hash of a transaction you want to approve. If it can't be found at the specified `depth` then an error will be returned.
@@ -32,7 +32,7 @@ Tip selection which returns `trunkTransaction` and `branchTransaction`. The inpu
IotaAPI iotaAPI = new IotaAPI.Builder().build();
try {
- GetTransactionsToApproveResponse response = iotaAPI.getTransactionsToApprove(15, "BDOSJNKBHLCQINXWVENXMZTLLO9GRIFLRGSENIGWOMJZVLOZ9HWFWWMWCRP9FMSIETJKVAYQGNVJBRSFD");
+ GetTransactionsToApproveResponse response = iotaAPI.getTransactionsToApprove(15, "9QZYK9HDDDCM9FKUPSGCWN9XRLFIE9K9UUECDHFUUQEJAFFSKLJPHAUUXLOFFZ9SMZJLDVASLDXWIOTWT");
} catch (ArgumentException e) {
// Handle error
e.printStackTrace();
diff --git a/docs/iota-java/getTransfers.md b/docs/iota-java/getTransfers.md
index fe230ff7..e3d859dc 100644
--- a/docs/iota-java/getTransfers.md
+++ b/docs/iota-java/getTransfers.md
@@ -1,5 +1,5 @@
-# [getTransfers](https://github.com/iotaledger/iota-java/blob/master/jota/src/main/java/org/iota/jota/IotaAPI.java#L183)
+# [getTransfers](https://github.com/iotaledger/iota-java/blob/master/jota/src/main/java/org/iota/jota/IotaAPI.java#L156)
[GetTransferResponse](https://github.com/iotaledger/iota-java/blob/master/jota/src/main/java/org/iota/jota/dto/response/GetTransferResponse.java) 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.
@@ -35,7 +35,7 @@ Finds all the bundles for all the addresses based on this seed and security.
IotaAPI iotaAPI = new IotaAPI.Builder().build();
try {
- GetTransferResponse response = iotaAPI.getTransfers("YOUR9SECRET9SEED9999999...", 3, 419, 725, false);
+ GetTransferResponse response = iotaAPI.getTransfers("YOUR9SECRET9SEED9999999...", 3, 323, 15, false);
} catch (ArgumentException e) {
// Handle error
e.printStackTrace();
diff --git a/docs/iota-java/getTrytes.md b/docs/iota-java/getTrytes.md
index 75872fbb..7313f381 100644
--- a/docs/iota-java/getTrytes.md
+++ b/docs/iota-java/getTrytes.md
@@ -1,5 +1,5 @@
-# [getTrytes](https://github.com/iotaledger/iota-java/blob/master/jota/src/main/java/org/iota/jota/IotaAPICore.java#L409)
+# [getTrytes](https://github.com/iotaledger/iota-java/blob/master/jota/src/main/java/org/iota/jota/IotaAPICore.java#L397)
[GetTrytesResponse](https://github.com/iotaledger/iota-java/blob/master/jota/src/main/java/org/iota/jota/dto/response/GetTrytesResponse.java) getTrytes(String[] hashes)
Returns the raw transaction data (trytes) of a specific transaction. These trytes can then be easily converted into the actual transaction object. You can use [Transaction(String)](https://github.com/iotaledger/iota-java/blob/master/jota/src/main/java/org/iota/jota/model/Transaction.java#L145) for conversion to an object.
@@ -30,7 +30,7 @@ Returns the raw transaction data (trytes) of a specific transaction. These tryte
IotaAPI iotaAPI = new IotaAPI.Builder().build();
try {
- GetTrytesResponse response = iotaAPI.getTrytes(new String[]{"FXZODREIAJEUTMA9YAJB9XNW9K9RBNRFJBWUCUSFGG9TNZTUCHHUIFFIAURNRRXYMHLXFXVDQPDOKHHZC", "YPKYGMRAIFFEUSPZZQMGQFRHRTVTDFKMCSXLHQLPPFQSZIVJHREYDAILPJIHDDQDYXLIOF9TCMBQHSWGN"});
+ GetTrytesResponse response = iotaAPI.getTrytes(new String[]{"TTDGOOSKHPO9YATHRJBM9VEBDREWSRZURHAGUFCTHYTODKTFASCKDEHMHMXCMPWIS9CV9DPFSMHESMAHR", "NDEJUMLFHBFTQJZSXBSVXBTLTQZWFVBTIDSXPHDYG9YNVE9AAYKKUUISRKKIBYBGYFEKUAVSYQCXBMZCX"});
} catch (ArgumentException e) {
// Handle error
e.printStackTrace();
diff --git a/docs/iota-java/initiateTransfer.md b/docs/iota-java/initiateTransfer.md
index 4d126181..8e537923 100644
--- a/docs/iota-java/initiateTransfer.md
+++ b/docs/iota-java/initiateTransfer.md
@@ -1,5 +1,5 @@
-# [initiateTransfer](https://github.com/iotaledger/iota-java/blob/master/jota/src/main/java/org/iota/jota/IotaAPI.java#L1276)
+# [initiateTransfer](https://github.com/iotaledger/iota-java/blob/master/jota/src/main/java/org/iota/jota/IotaAPI.java#L1293)
List<[Transaction](https://github.com/iotaledger/iota-java/blob/master/jota/src/main/java/org/iota/jota/model/Transaction.java)> initiateTransfer(int securitySum , String inputAddress , String remainderAddress , List<[Transfer](https://github.com/iotaledger/iota-java/blob/master/jota/src/main/java/org/iota/jota/model/Transfer.java)> transfers , List<[Transaction](https://github.com/iotaledger/iota-java/blob/master/jota/src/main/java/org/iota/jota/model/Transaction.java)> tips , boolean testMode)
Prepares transfer by generating the bundle with the corresponding cosigner transactions. Does not contain signatures.
@@ -54,7 +54,7 @@ List<[Transaction](https://github.com/iotaledger/iota-java/blob/master/jota/src/
IotaAPI iotaAPI = new IotaAPI.Builder().build();
try {
- List response = iotaAPI.initiateTransfer(111, "MVTQZAUALKNRV9OZLJCQQPCAOTNGWFAXZZXRHYPKGAUXP9YIDCNJQZTGIIJPEHZBTKMAN9UJERNSNQBOI", "BDOOI9DJMVANHAQEOTFYSPWYQDLNQZFE9RVZRDDJSAWVKBLCOMPQAVNFVMFSJHFDOZT9QCXJBXDOFYN9U", new List(new Transfer[]{transfers, transfers}), new List(new Transaction[]{tips, tips}), true);
+ List response = iotaAPI.initiateTransfer(527, "TEAPYGIONKLYSNCMJUVVKORUCSDGGBLWPXDF9UHGQU9UOHBTVXKLHZSMRAIMDREAZONIVJPRYDJPXOBJT", "JAV9IAYGWWLFDFKUIIVUCYKCBLBSRLQC9YLPJANFDOMJUOCMPCYGXRTDKC9EPQMZUCUKAYHFWFUWQDKDV", new List(new Transfer[]{transfers, transfers}), new List(new Transaction[]{tips, tips}), false);
} catch (ArgumentException e) {
// Handle error
e.printStackTrace();
diff --git a/docs/iota-java/interruptAttachingToTangle.md b/docs/iota-java/interruptAttachingToTangle.md
index 4d2fb635..af06ead7 100644
--- a/docs/iota-java/interruptAttachingToTangle.md
+++ b/docs/iota-java/interruptAttachingToTangle.md
@@ -1,5 +1,5 @@
-# [interruptAttachingToTangle](https://github.com/iotaledger/iota-java/blob/master/jota/src/main/java/org/iota/jota/IotaAPICore.java#L721)
+# [interruptAttachingToTangle](https://github.com/iotaledger/iota-java/blob/master/jota/src/main/java/org/iota/jota/IotaAPICore.java#L786)
[InterruptAttachingToTangleResponse](https://github.com/iotaledger/iota-java/blob/master/jota/src/main/java/org/iota/jota/dto/response/InterruptAttachingToTangleResponse.java) interruptAttachingToTangle()
Interrupts and completely aborts the `attachToTangle` process.
diff --git a/docs/iota-java/isConfirmed.md b/docs/iota-java/isConfirmed.md
new file mode 100644
index 00000000..6b770c5c
--- /dev/null
+++ b/docs/iota-java/isConfirmed.md
@@ -0,0 +1,45 @@
+
+# [isConfirmed](https://github.com/iotaledger/iota-java/blob/master/jota/src/main/java/org/iota/jota/IotaAPI.java#L1097)
+ [GetInclusionStateResponse](https://github.com/iotaledger/iota-java/blob/master/jota/src/main/java/org/iota/jota/dto/response/GetInclusionStateResponse.java) isConfirmed(String[] hashes)
+
+ Get the inclusion states of a set of transactions. This is for determining if a transaction was accepted and confirmed by the network or not.
+ This API call returns a list of boolean values in the same order as the submitted transactions. Boolean values will be `true` for confirmed transactions, otherwise `false`.
+ This is command does the same as [getInclusionStates(String...)](https://github.com/iotaledger/iota-java/blob/master/jota/src/main/java/org/iota/jota/IotaAPICore.java#L376) but a copy exists for readability.
+> **Important note:** This API is currently in Beta and is subject to change. Use of these APIs in production applications is not supported.
+
+## Input
+| Parameter | Type | Required or Optional | Description |
+|:---------------|:--------|:--------| :--------|
+| hashes | String[] | Required | The transaction hashes to check for |
+
+## Output
+[GetInclusionStateResponse](https://github.com/iotaledger/iota-java/blob/master/jota/src/main/java/org/iota/jota/dto/response/GetInclusionStateResponse.java), which contains the following fields:
+| Return type | Description |
+|--|--|
+| Long duration | Gets the duration. |
+| boolean[] states | Gets the states. |
+
+## Exceptions
+| Exceptions | Description |
+|:---------------|:--------|
+| [ArgumentException](https://github.com/iotaledger/iota-java/blob/master/jota/src/main/java/org/iota/jota/error/ArgumentException.java) | when one of the hashes is invalid |
+
+## Related APIs (link to other product documentation)
+| API | Description |
+|:---------------|:--------|
+| [getInclusionStates(String...)](https://github.com/iotaledger/iota-java/blob/master/jota/src/main/java/org/iota/jota/IotaAPICore.java#L376) | Get the inclusion states of a set of transactions. This is for determining if a transaction was accepted and confirmed by the network or not.
+ This API call returns a list of boolean values in the same order as the submitted transactions. Boolean values will be `true` for confirmed transactions, otherwise `false`.
+ |
+
+ ## Example
+
+ ```Java
+ IotaAPI iotaAPI = new IotaAPI.Builder().build();
+
+try {
+ GetInclusionStateResponse response = iotaAPI.isConfirmed(new String[]{"BUYLPZYTHMUECDBEIKGGJTY9CCMUUQRBMDODYCPTQBJECIPSCCOIUOFMMMIBKYEJZBTDFBVYTWTWCWS9T", "TYPRACCNQKOCGIYKYABGN9TLKALAVHN9VJDJFJZLFVGMF9EGBXDEFOPKGWMALCONLFX9DT9XLVLQCYOBX"});
+} catch (ArgumentException e) {
+ // Handle error
+ e.printStackTrace();
+}
+ ```
diff --git a/docs/iota-java/isPromotable.md b/docs/iota-java/isPromotable.md
index 1d74b39e..176e5484 100644
--- a/docs/iota-java/isPromotable.md
+++ b/docs/iota-java/isPromotable.md
@@ -1,5 +1,5 @@
-# [isPromotable](https://github.com/iotaledger/iota-java/blob/master/jota/src/main/java/org/iota/jota/IotaAPI.java#L1600)
+# [isPromotable](https://github.com/iotaledger/iota-java/blob/master/jota/src/main/java/org/iota/jota/IotaAPI.java#L1617)
boolean isPromotable([Transaction](https://github.com/iotaledger/iota-java/blob/master/jota/src/main/java/org/iota/jota/model/Transaction.java) tail)
Checks if a transaction hash is promotable
@@ -23,7 +23,7 @@ Checks if a transaction hash is promotable
## Related APIs (link to other product documentation)
| API | Description |
|:---------------|:--------|
-| [checkConsistency(String...)](https://github.com/iotaledger/iota-java/blob/master/jota/src/main/java/org/iota/jota/IotaAPICore.java#L563) | Checks the consistency of the subtangle formed by the provided tails. |
+| [checkConsistency(String...)](https://github.com/iotaledger/iota-java/blob/master/jota/src/main/java/org/iota/jota/IotaAPICore.java#L628) | Checks the consistency of the subtangle formed by the provided tails. |
## Example
diff --git a/docs/iota-java/newDepositAddress.md b/docs/iota-java/newDepositAddress.md
index e3038a05..dbb86d63 100644
--- a/docs/iota-java/newDepositAddress.md
+++ b/docs/iota-java/newDepositAddress.md
@@ -33,7 +33,7 @@ Future<[ConditionalDepositAddress](https://github.com/iotaledger/iota-java/blob/
IotaAPI iotaAPI = new IotaAPI.Builder().build();
IotaAccount account = new IotaAccount.Builder("MY9SEED9..").api(iotaAPI).build()
try {
- Future response = account.newDepositAddress(timeout, true, 739, new ExpireCondition[]{null, null});
+ Future response = account.newDepositAddress(timeout, true, 884, new ExpireCondition[]{null, null});
} catch (AccountError e) {
// Handle error
e.printStackTrace();
diff --git a/docs/iota-java/prepareTransfers.md b/docs/iota-java/prepareTransfers.md
index e5e09081..7fbca199 100644
--- a/docs/iota-java/prepareTransfers.md
+++ b/docs/iota-java/prepareTransfers.md
@@ -1,5 +1,5 @@
-# [prepareTransfers](https://github.com/iotaledger/iota-java/blob/master/jota/src/main/java/org/iota/jota/IotaAPI.java#L487)
+# [prepareTransfers](https://github.com/iotaledger/iota-java/blob/master/jota/src/main/java/org/iota/jota/IotaAPI.java#L460)
List prepareTransfers(String seed , int security , List<[Transfer](https://github.com/iotaledger/iota-java/blob/master/jota/src/main/java/org/iota/jota/model/Transfer.java)> transfers , String remainder , List<[Input](https://github.com/iotaledger/iota-java/blob/master/jota/src/main/java/org/iota/jota/model/Input.java)> inputs , List<[Transaction](https://github.com/iotaledger/iota-java/blob/master/jota/src/main/java/org/iota/jota/model/Transaction.java)> tips , boolean validateInputs)
Prepares transfer by generating bundle, finding and signing inputs.
@@ -36,7 +36,7 @@ Prepares transfer by generating bundle, finding and signing inputs.
IotaAPI iotaAPI = new IotaAPI.Builder().build();
try {
- List response = iotaAPI.prepareTransfers("YOUR9SECRET9SEED9999999...", 3, new List(new Transfer[]{transfers, transfers}), "GRLPYFSAWZDLEHQZGC9JBRTLLGXJVSZXBGWCUVVZCPXU9GYSAMEAKFQ9HZEJXOFRREIOHNKMNSNBWJSHL", new List(new Input[]{inputs, inputs}), new List(new Transaction[]{tips, tips}), true);
+ List response = iotaAPI.prepareTransfers("YOUR9SECRET9SEED9999999...", 3, new List(new Transfer[]{transfers, transfers}), "TQJOTQEBRFGXDYBVEIBFYLRZL9EZYGHNNWPOEJEOSDYHLP9BTBGUDFJYMETKHIVJXCDLOBRA9CZAGEWXY", new List(new Input[]{inputs, inputs}), new List(new Transaction[]{tips, tips}), false);
} catch (ArgumentException e) {
// Handle error
e.printStackTrace();
diff --git a/docs/iota-java/promoteTransaction.md b/docs/iota-java/promoteTransaction.md
index 5f8d86c6..888aefc5 100644
--- a/docs/iota-java/promoteTransaction.md
+++ b/docs/iota-java/promoteTransaction.md
@@ -1,5 +1,5 @@
-# [promoteTransaction](https://github.com/iotaledger/iota-java/blob/master/jota/src/main/java/org/iota/jota/IotaAPI.java#L1667)
+# [promoteTransaction](https://github.com/iotaledger/iota-java/blob/master/jota/src/main/java/org/iota/jota/IotaAPI.java#L1684)
List<[Transaction](https://github.com/iotaledger/iota-java/blob/master/jota/src/main/java/org/iota/jota/model/Transaction.java)> promoteTransaction(String tail , int depth , int minWeightMagnitude , [Bundle](https://github.com/iotaledger/iota-java/blob/master/jota/src/main/java/org/iota/jota/model/Bundle.java) bundle)
Attempts to promote a transaction using a provided bundle and, if successful, returns the promoting Transactions. This is done by creating another transaction which points to the tail. This will effectively double the chances of the transaction to be picked, and this approved.
@@ -47,15 +47,15 @@ List<[Transaction](https://github.com/iotaledger/iota-java/blob/master/jota/src/
## Related APIs (link to other product documentation)
| API | Description |
|:---------------|:--------|
-| [checkConsistency(String...)](https://github.com/iotaledger/iota-java/blob/master/jota/src/main/java/org/iota/jota/IotaAPICore.java#L563) | Checks the consistency of the subtangle formed by the provided tails. |
-| [getTransactionsToApprove(Integer, String)](https://github.com/iotaledger/iota-java/blob/master/jota/src/main/java/org/iota/jota/IotaAPICore.java#L435) | Tip selection which returns `trunkTransaction` and `branchTransaction`. The input value `depth` determines how many milestones to go back for finding the transactions to approve. The higher your `depth` value, the more work you have to do as you are confirming more transactions. If the `depth` is too large (usually above 15, it depends on the node's configuration) an error will be returned. The `reference` is an optional hash of a transaction you want to approve. If it can't be found at the specified `depth` then an error will be returned. |
-| [attachToTangle(String, String, Integer, String...)](https://github.com/iotaledger/iota-java/blob/master/jota/src/main/java/org/iota/jota/IotaAPICore.java#L608) | Prepares the specified transactions (trytes) for attachment to the Tangle by doing Proof of Work. You need to supply `branchTransaction` as well as `trunkTransaction`. These are the tips which you're going to validate and reference with this transaction. These are obtainable by the `getTransactionsToApprove` API call.
- The returned value is a different set of tryte values which you can input into `broadcastTransactions` and `storeTransactions`.
+| [checkConsistency(String...)](https://github.com/iotaledger/iota-java/blob/master/jota/src/main/java/org/iota/jota/IotaAPICore.java#L628) | Checks the consistency of the subtangle formed by the provided tails. |
+| [getTransactionsToApprove(Integer, String)](https://github.com/iotaledger/iota-java/blob/master/jota/src/main/java/org/iota/jota/IotaAPICore.java#L423) | Tip selection which returns `trunkTransaction` and `branchTransaction`. The input value `depth` determines how many milestones to go back for finding the transactions to approve. The higher your `depth` value, the more work you have to do as you are confirming more transactions. If the `depth` is too large (usually above 15, it depends on the node's configuration) an error will be returned. The `reference` is an optional hash of a transaction you want to approve. If it can't be found at the specified `depth` then an error will be returned. |
+| [attachToTangle(String, String, Integer, String...)](https://github.com/iotaledger/iota-java/blob/master/jota/src/main/java/org/iota/jota/IotaAPICore.java#L673) | Prepares the specified transactions (trytes) for attachment to the Tangle by doing Proof of Work. You need to supply `branchTransaction` as well as `trunkTransaction`. These are the tips which you're going to validate and reference with this transaction. These are obtainable by the `getTransactionsToApprove` API call.
+ The returned value is a different set of tryte values which you can input into `broadcastTransactions` and `storeTransactions`.
The last 243 trytes of the return value consist of the following: * `trunkTransaction`
* `branchTransaction`
* `nonce`
These are valid trytes which are then accepted by the network. |
-| [storeAndBroadcast(String...)](https://github.com/iotaledger/iota-java/blob/master/jota/src/main/java/org/iota/jota/IotaAPI.java#L313) | Wrapper method: stores and broadcasts the specified trytes. |
+| [storeAndBroadcast(String...)](https://github.com/iotaledger/iota-java/blob/master/jota/src/main/java/org/iota/jota/IotaAPI.java#L286) | Wrapper method: stores and broadcasts the specified trytes. |
## Example
@@ -63,7 +63,7 @@ List<[Transaction](https://github.com/iotaledger/iota-java/blob/master/jota/src/
IotaAPI iotaAPI = new IotaAPI.Builder().build();
try {
- List response = iotaAPI.promoteTransaction("YXNH9IKWQPAFEGIB9PAUQY9VAEVINDJISMZGCMJUCGCYNNS9JLCLFMRDPVDKVXIXECZGMQIXBMUQZNBKS", 15, 18, bundle);
+ List response = iotaAPI.promoteTransaction("OAIJTFYQOGAEEUWIDQFXFHFJBQBDTPMRKOWOQRRFSWGRFTISJLKDEKXVWFEXOBBUJGJBAXOWSTOUDEVCH", 15, 18, bundle);
} catch (ArgumentException e) {
// Handle error
e.printStackTrace();
diff --git a/docs/iota-java/removeNeighbors.md b/docs/iota-java/removeNeighbors.md
index ef7af3ef..4a5f903a 100644
--- a/docs/iota-java/removeNeighbors.md
+++ b/docs/iota-java/removeNeighbors.md
@@ -1,8 +1,8 @@
-# [removeNeighbors](https://github.com/iotaledger/iota-java/blob/master/jota/src/main/java/org/iota/jota/IotaAPICore.java#L213)
+# [removeNeighbors](https://github.com/iotaledger/iota-java/blob/master/jota/src/main/java/org/iota/jota/IotaAPICore.java#L210)
[RemoveNeighborsResponse](https://github.com/iotaledger/iota-java/blob/master/jota/src/main/java/org/iota/jota/dto/response/RemoveNeighborsResponse.java) removeNeighbors(String[] uris)
-Temporarily removes a list of neighbors from your node. The added neighbors will be added again after relaunching IRI. Remove the neighbors from your config file or make sure you don't supply them in the -n command line option if you want to keep them removed after restart. The URI (Unique Resource Identification) for removing neighbors is: **tcp://IPADDRESS:PORT**
+Temporarily removes a list of neighbors from your node. The added neighbors will be added again after relaunching IRI. Remove the neighbors from your config file or make sure you don't supply them in the -n command line option if you want to keep them removed after restart. The URI (Unique Resource Identification) for removing neighbors is: **tcp://IPADDRESS:PORT**
> **Important note:** This API is currently in Beta and is subject to change. Use of these APIs in production applications is not supported.
## Input
diff --git a/docs/iota-java/replayBundle.md b/docs/iota-java/replayBundle.md
index 05094eac..747c5422 100644
--- a/docs/iota-java/replayBundle.md
+++ b/docs/iota-java/replayBundle.md
@@ -1,5 +1,5 @@
-# [replayBundle](https://github.com/iotaledger/iota-java/blob/master/jota/src/main/java/org/iota/jota/IotaAPI.java#L988)
+# [replayBundle](https://github.com/iotaledger/iota-java/blob/master/jota/src/main/java/org/iota/jota/IotaAPI.java#L985)
[ReplayBundleResponse](https://github.com/iotaledger/iota-java/blob/master/jota/src/main/java/org/iota/jota/dto/response/ReplayBundleResponse.java) replayBundle(String tailTransactionHash , int depth , int minWeightMagnitude , String reference)
Replays a transfer by doing Proof of Work again. This will make a new, but identical transaction which now also can be approved. If any of the replayed transactions gets approved, the others stop getting approved.
@@ -30,7 +30,7 @@ Replays a transfer by doing Proof of Work again. This will make a new, but ident
## Related APIs (link to other product documentation)
| API | Description |
|:---------------|:--------|
-| [sendTrytes(String[], int, int, String)](https://github.com/iotaledger/iota-java/blob/master/jota/src/main/java/org/iota/jota/IotaAPI.java#L343) | Wrapper method: Gets transactions to approve, attaches to Tangle, broadcasts and stores. |
+| [sendTrytes(String[], int, int, String)](https://github.com/iotaledger/iota-java/blob/master/jota/src/main/java/org/iota/jota/IotaAPI.java#L316) | Wrapper method: Gets transactions to approve, attaches to Tangle, broadcasts and stores. |
## Example
@@ -38,7 +38,7 @@ Replays a transfer by doing Proof of Work again. This will make a new, but ident
IotaAPI iotaAPI = new IotaAPI.Builder().build();
try {
- ReplayBundleResponse response = iotaAPI.replayBundle("DQXTUSEAKIZWUHROLLSXSXXRGFTEMUSLVJSGLFAOTJWEPZWHJRCBQRWWASMEJ9WAKRMA9YONQNWFKWPME", 15, 18, "KASVQPTTXQXGNTBYEZEAIWQLTNGUOMPKBSXJQYKXCEVKADVAOTAZESMRKRDGOIVEKGRSPBQXDVAMDQAWO");
+ ReplayBundleResponse response = iotaAPI.replayBundle("HAHMUYEABEIZOMAQKQAOUTE9ETOFQDZEZPSTKDJOXFEQHWPHSORUDISWALUSAOZYVSIDSNRDOVIREPOLL", 15, 18, "LWQCHQ9OPAZYEPLC9R9YZW9WSIRRQEKDXMDTXUDKFRNNTKXCVCSSYXM9ELGUZND9WZYINIOFXLNBRZXFS");
} catch (ArgumentException e) {
// Handle error
e.printStackTrace();
diff --git a/docs/iota-java/send(address, amount, message, tag).md b/docs/iota-java/send(address, amount, message, tag).md
index 3d7b6b4c..dcb79eb2 100644
--- a/docs/iota-java/send(address, amount, message, tag).md
+++ b/docs/iota-java/send(address, amount, message, tag).md
@@ -26,7 +26,7 @@ Sends a transfer using the accounts balance to the provided address. You must ca
IotaAPI iotaAPI = new IotaAPI.Builder().build();
try {
- Future response = iotaAPI.send("WCNGLG9XTVGGREAJMEVNTNGAJOOXONDPBEOWNJPOYQAZIWXTSXBVKOAFFUQCHMMFMEJZWLHDXQVLWILAV", 472, Optional.of("BSBPKIWVIXKNVWUBHUYOAJ9RVBUUOKYFUACLKUMRWQSER9MDJGDHNMFVBJVSBU9QCFZPQUGKDQIV9AKZZ", Optional.of("TAG9MMCOBJKWNHOBSMPDUWXZTUX");
+ Future response = iotaAPI.send("TTHWVFRO9DACCMQU9FLVDCWSQIMHYMFVTXBT9ZSAPJUKYWJJMHRKNTMQNSCGGEHCORRRBZZXRORNLNTRX", 64, Optional.of("I9DUAMDTTIZLCYJMOWU9RSWVD9VSNDSIAHXVD9NYVYXWQUEINIPVLIRAA9YPIXQPLVXUSXYDSM9PFSBQM", Optional.of("TAG9UUE9AGBOUEOGTUWKPAXDXQK");
} catch (ArgumentException e) {
// Handle error
e.printStackTrace();
diff --git a/docs/iota-java/send.md b/docs/iota-java/send.md
index 85206811..3b8dac84 100644
--- a/docs/iota-java/send.md
+++ b/docs/iota-java/send.md
@@ -23,7 +23,7 @@ Sends the specified amounts to the given recipient.
IotaAPI iotaAPI = new IotaAPI.Builder().build();
IotaAccount account = new IotaAccount.Builder("MY9SEED9..").api(iotaAPI).build()
try {
- Future response = account.send(new Recipient(495, "hi", "TAG", CKA9KTHQHQLCYLTBZMYGNIMCERRPOHTX9FXWIO9LMWNKJTNHNJUXHNDMLGRYISQBJC9SZQIMWJXJ9EOYL));
+ Future response = account.send(new Recipient(371, "hi", "TAG", LDISDSQOLJKTPETQZAP9PUWFRSJELRBHKADJBRRUWQEVYT9ZTKLODG9JCTMUZQQFAR9PQYOKPR9LI9CZH));
} catch (AccountError e) {
// Handle error
e.printStackTrace();
diff --git a/docs/iota-java/sendTransfer.md b/docs/iota-java/sendTransfer.md
index 0cbee377..a6b3facf 100644
--- a/docs/iota-java/sendTransfer.md
+++ b/docs/iota-java/sendTransfer.md
@@ -1,5 +1,5 @@
-# [sendTransfer](https://github.com/iotaledger/iota-java/blob/master/jota/src/main/java/org/iota/jota/IotaAPI.java#L1112)
+# [sendTransfer](https://github.com/iotaledger/iota-java/blob/master/jota/src/main/java/org/iota/jota/IotaAPI.java#L1129)
[SendTransferResponse](https://github.com/iotaledger/iota-java/blob/master/jota/src/main/java/org/iota/jota/dto/response/SendTransferResponse.java) sendTransfer(String seed , int security , int depth , int minWeightMagnitude , List<[Transfer](https://github.com/iotaledger/iota-java/blob/master/jota/src/main/java/org/iota/jota/model/Transfer.java)> transfers , List<[Input](https://github.com/iotaledger/iota-java/blob/master/jota/src/main/java/org/iota/jota/model/Input.java)> inputs , String remainderAddress , boolean validateInputs , boolean validateInputAddresses , List<[Transaction](https://github.com/iotaledger/iota-java/blob/master/jota/src/main/java/org/iota/jota/model/Transaction.java)> tips)
Wrapper function: Runs prepareTransfers, as well as attachToTangle. We then broadcasts this and and store the transactions on the node.
@@ -17,7 +17,7 @@ Wrapper function: Runs prepareTransfers, as well as attachToTangle. We then broa
| remainderAddress | String | Required | If defined, this remainderAddress will be used for sending the remainder value (of the inputs) to. When this is not defined, but a remaining exists, the next free address is used. |
| validateInputs | boolean | Required | Whether or not to validate the balances of the provided inputs. |
| validateInputAddresses | boolean | Required | Whether or not to validate if the destination address is already use. If a key reuse is detect or it's send to inputs. |
-| tips | List<[Transaction](https://github.com/iotaledger/iota-java/blob/master/jota/src/main/java/org/iota/jota/model/Transaction.java)> | Required | The starting points we walk back from to find the balance of the addresses If multiple tips are supplied, only the first tip is used for [getTransactionsToApprove(Integer, String)](https://github.com/iotaledger/iota-java/blob/master/jota/src/main/java/org/iota/jota/IotaAPICore.java#L435) |
+| tips | List<[Transaction](https://github.com/iotaledger/iota-java/blob/master/jota/src/main/java/org/iota/jota/model/Transaction.java)> | Required | The starting points we walk back from to find the balance of the addresses If multiple tips are supplied, only the first tip is used for [getTransactionsToApprove(Integer, String)](https://github.com/iotaledger/iota-java/blob/master/jota/src/main/java/org/iota/jota/IotaAPICore.java#L423) |
## Output
[SendTransferResponse](https://github.com/iotaledger/iota-java/blob/master/jota/src/main/java/org/iota/jota/dto/response/SendTransferResponse.java), which contains the following fields:
@@ -39,9 +39,9 @@ Wrapper function: Runs prepareTransfers, as well as attachToTangle. We then broa
## Related APIs (link to other product documentation)
| API | Description |
|:---------------|:--------|
-| [prepareTransfers(String, int, List, String, List, List, boolean)](https://github.com/iotaledger/iota-java/blob/master/jota/src/main/java/org/iota/jota/IotaAPI.java#L487) | Prepares transfer by generating bundle, finding and signing inputs. |
-| [sendTrytes(String[], int, int, String)](https://github.com/iotaledger/iota-java/blob/master/jota/src/main/java/org/iota/jota/IotaAPI.java#L343) | Wrapper method: Gets transactions to approve, attaches to Tangle, broadcasts and stores. |
-| [validateTransfersAddresses(String, int, List)](https://github.com/iotaledger/iota-java/blob/master/jota/src/main/java/org/iota/jota/IotaAPI.java#L1454) | Validates the supplied transactions with seed and security. This will check for correct input/output and key reuse
+| [prepareTransfers(String, int, List, String, List, List, boolean)](https://github.com/iotaledger/iota-java/blob/master/jota/src/main/java/org/iota/jota/IotaAPI.java#L460) | Prepares transfer by generating bundle, finding and signing inputs. |
+| [sendTrytes(String[], int, int, String)](https://github.com/iotaledger/iota-java/blob/master/jota/src/main/java/org/iota/jota/IotaAPI.java#L316) | Wrapper method: Gets transactions to approve, attaches to Tangle, broadcasts and stores. |
+| [validateTransfersAddresses(String, int, List)](https://github.com/iotaledger/iota-java/blob/master/jota/src/main/java/org/iota/jota/IotaAPI.java#L1471) | Validates the supplied transactions with seed and security. This will check for correct input/output and key reuse
In order to do this we will generate all addresses for this seed which are currently in use. Address checksums will be regenerated and these addresses will be looked up, making this an expensive method call.
If no error is thrown, the transaction trytes are using correct addresses. This will not validate transaction fields. |
@@ -51,7 +51,7 @@ Wrapper function: Runs prepareTransfers, as well as attachToTangle. We then broa
IotaAPI iotaAPI = new IotaAPI.Builder().build();
try {
- SendTransferResponse response = iotaAPI.sendTransfer("YOUR9SECRET9SEED9999999...", 3, 15, 18, new List(new Transfer[]{transfers, transfers}), new List(new Input[]{inputs, inputs}), "HGICXBGIYDHWM9BFVHZBHRWRHVPIPFWISN9QTXKVWTNPFKWNWDCSIA9WDYSBHYIKOKPHXBBZWDXWLHQAX", false, TASNVCUPHCUKZETSAOMKSBCWPBYCKDAKFPVGACIMFIQELKYZCXKDYREMB99MDEAXTSKTKP9BAHIDGOFFG, new List(new Transaction[]{tips, tips}));
+ SendTransferResponse response = iotaAPI.sendTransfer("YOUR9SECRET9SEED9999999...", 3, 15, 18, new List(new Transfer[]{transfers, transfers}), new List(new Input[]{inputs, inputs}), "NJOKMNNHKBMCMFOJ9OTVLLZUYFTDTHAKIFWSCXPAGXGNDHPMGZWJXMCJXCVYWWJKSQOMUDDCTPT9MZAOM", true, DANAREEZEQWTXSQEERNXD9QORGKPOWOOYYNVVTXADVASZOXGDAMQKPWPIMJXSMOXCSGMDIJEQCBTQIMQM, new List(new Transaction[]{tips, tips}));
} catch (ArgumentException e) {
// Handle error
e.printStackTrace();
diff --git a/docs/iota-java/sendTrytes.md b/docs/iota-java/sendTrytes.md
index da217dcf..0edde288 100644
--- a/docs/iota-java/sendTrytes.md
+++ b/docs/iota-java/sendTrytes.md
@@ -1,5 +1,5 @@
-# [sendTrytes](https://github.com/iotaledger/iota-java/blob/master/jota/src/main/java/org/iota/jota/IotaAPI.java#L343)
+# [sendTrytes](https://github.com/iotaledger/iota-java/blob/master/jota/src/main/java/org/iota/jota/IotaAPI.java#L316)
List<[Transaction](https://github.com/iotaledger/iota-java/blob/master/jota/src/main/java/org/iota/jota/model/Transaction.java)> sendTrytes(String[] trytes , int depth , int minWeightMagnitude , String reference)
Wrapper method: Gets transactions to approve, attaches to Tangle, broadcasts and stores.
@@ -44,14 +44,14 @@ List<[Transaction](https://github.com/iotaledger/iota-java/blob/master/jota/src/
## Related APIs (link to other product documentation)
| API | Description |
|:---------------|:--------|
-| [broadcastTransactions(String...)](https://github.com/iotaledger/iota-java/blob/master/jota/src/main/java/org/iota/jota/IotaAPICore.java#L735) | Broadcast a list of transactions to all neighbors. The trytes to be used for this call should be valid, attached transaction trytes. These trytes are returned by `attachToTangle`, or by doing proof of work somewhere else. |
-| [attachToTangle(String, String, Integer, String...)](https://github.com/iotaledger/iota-java/blob/master/jota/src/main/java/org/iota/jota/IotaAPICore.java#L608) | Prepares the specified transactions (trytes) for attachment to the Tangle by doing Proof of Work. You need to supply `branchTransaction` as well as `trunkTransaction`. These are the tips which you're going to validate and reference with this transaction. These are obtainable by the `getTransactionsToApprove` API call.
- The returned value is a different set of tryte values which you can input into `broadcastTransactions` and `storeTransactions`.
+| [broadcastTransactions(String...)](https://github.com/iotaledger/iota-java/blob/master/jota/src/main/java/org/iota/jota/IotaAPICore.java#L800) | Broadcast a list of transactions to all neighbors. The trytes to be used for this call should be valid, attached transaction trytes. These trytes are returned by `attachToTangle`, or by doing proof of work somewhere else. |
+| [attachToTangle(String, String, Integer, String...)](https://github.com/iotaledger/iota-java/blob/master/jota/src/main/java/org/iota/jota/IotaAPICore.java#L673) | Prepares the specified transactions (trytes) for attachment to the Tangle by doing Proof of Work. You need to supply `branchTransaction` as well as `trunkTransaction`. These are the tips which you're going to validate and reference with this transaction. These are obtainable by the `getTransactionsToApprove` API call.
+ The returned value is a different set of tryte values which you can input into `broadcastTransactions` and `storeTransactions`.
The last 243 trytes of the return value consist of the following: * `trunkTransaction`
* `branchTransaction`
* `nonce`
These are valid trytes which are then accepted by the network. |
-| [storeAndBroadcast(String...)](https://github.com/iotaledger/iota-java/blob/master/jota/src/main/java/org/iota/jota/IotaAPI.java#L313) | Wrapper method: stores and broadcasts the specified trytes. |
+| [storeAndBroadcast(String...)](https://github.com/iotaledger/iota-java/blob/master/jota/src/main/java/org/iota/jota/IotaAPI.java#L286) | Wrapper method: stores and broadcasts the specified trytes. |
## Example
@@ -59,7 +59,7 @@ List<[Transaction](https://github.com/iotaledger/iota-java/blob/master/jota/src/
IotaAPI iotaAPI = new IotaAPI.Builder().build();
try {
- List response = iotaAPI.sendTrytes(new String[]{"MUHKCNDAPZ9FOXLMVNXBSGTJH ... FGHOZAJIXAAZFPUZVQSEMJNIA", "TISCTCXYBRZECIZKTHXCZ9UZY ... VNDYHVFNTYLXNTSBQZEWIEQKI"}, 15, 18, "NTXHLGLJQDNER9JNUMRDZIQLHNDIXGBWZDVUJRJUELIFYHOZMMASBBOQKFTWTJUREEJBTHFEGVBIEDKNF");
+ List response = iotaAPI.sendTrytes(new String[]{"MGOLXEDPBPKYVDQRATMYTEPJL ... AX9FGDFF9XNEFMN9JHMSXZF9W", "UQYHAOVMPHSXABNYCMNKTZLPT ... ILMMCOG9CACBQHMGVOEHCFAMD"}, 15, 18, "LXRLEONWUERQCYIWNLPACFGGPDZCBJOUQHRUGS9VFXEHICRRCDYJMYUQGJDSW9TJMNGXRWXBFBZLUCKXG");
} catch (ArgumentException e) {
// Handle error
e.printStackTrace();
diff --git a/docs/iota-java/storeAndBroadcast.md b/docs/iota-java/storeAndBroadcast.md
index 5a9db2ab..75ff8a24 100644
--- a/docs/iota-java/storeAndBroadcast.md
+++ b/docs/iota-java/storeAndBroadcast.md
@@ -1,5 +1,5 @@
-# [storeAndBroadcast](https://github.com/iotaledger/iota-java/blob/master/jota/src/main/java/org/iota/jota/IotaAPI.java#L313)
+# [storeAndBroadcast](https://github.com/iotaledger/iota-java/blob/master/jota/src/main/java/org/iota/jota/IotaAPI.java#L286)
[BroadcastTransactionsResponse](https://github.com/iotaledger/iota-java/blob/master/jota/src/main/java/org/iota/jota/dto/response/BroadcastTransactionsResponse.java) storeAndBroadcast(String[] trytes)
Wrapper method: stores and broadcasts the specified trytes.
@@ -24,8 +24,8 @@ Wrapper method: stores and broadcasts the specified trytes.
## Related APIs (link to other product documentation)
| API | Description |
|:---------------|:--------|
-| [storeTransactions(String...)](https://github.com/iotaledger/iota-java/blob/master/jota/src/main/java/org/iota/jota/IotaAPICore.java#L753) | Stores transactions in the local storage. The trytes to be used for this call should be valid, attached transaction trytes. These trytes are returned by `attachToTangle`, or by doing proof of work somewhere else. |
-| [broadcastTransactions(String...)](https://github.com/iotaledger/iota-java/blob/master/jota/src/main/java/org/iota/jota/IotaAPICore.java#L735) | Broadcast a list of transactions to all neighbors. The trytes to be used for this call should be valid, attached transaction trytes. These trytes are returned by `attachToTangle`, or by doing proof of work somewhere else. |
+| [storeTransactions(String...)](https://github.com/iotaledger/iota-java/blob/master/jota/src/main/java/org/iota/jota/IotaAPICore.java#L818) | Stores transactions in the local storage. The trytes to be used for this call should be valid, attached transaction trytes. These trytes are returned by `attachToTangle`, or by doing proof of work somewhere else. |
+| [broadcastTransactions(String...)](https://github.com/iotaledger/iota-java/blob/master/jota/src/main/java/org/iota/jota/IotaAPICore.java#L800) | Broadcast a list of transactions to all neighbors. The trytes to be used for this call should be valid, attached transaction trytes. These trytes are returned by `attachToTangle`, or by doing proof of work somewhere else. |
## Example
@@ -33,7 +33,7 @@ Wrapper method: stores and broadcasts the specified trytes.
IotaAPI iotaAPI = new IotaAPI.Builder().build();
try {
- BroadcastTransactionsResponse response = iotaAPI.storeAndBroadcast(new String[]{"PNZUWPGFCKB9ORDZNHRENUPEF ... CXLRFAEBVOFPOFSOAVYE9LHTM", "M99KAOTCNSJ9DRJGIQICCGWRH ... CNXTDNXMQEYMYJTVESRZQOUQS"});
+ BroadcastTransactionsResponse response = iotaAPI.storeAndBroadcast(new String[]{"AL9PN9OO9RHQNRN9NVXCKPLNG ... LLANXJWH9IDKSYFUVSEODY9FN", "DQTPSWOFHABLHUGYIHVNUGOLK ... 9RMEHUEQGXHZZGUPGCBBCDKZZ"});
} catch (ArgumentException e) {
// Handle error
e.printStackTrace();
diff --git a/docs/iota-java/storeTransactions.md b/docs/iota-java/storeTransactions.md
index d417779a..373e5ff9 100644
--- a/docs/iota-java/storeTransactions.md
+++ b/docs/iota-java/storeTransactions.md
@@ -1,5 +1,5 @@
-# [storeTransactions](https://github.com/iotaledger/iota-java/blob/master/jota/src/main/java/org/iota/jota/IotaAPICore.java#L753)
+# [storeTransactions](https://github.com/iotaledger/iota-java/blob/master/jota/src/main/java/org/iota/jota/IotaAPICore.java#L818)
[StoreTransactionsResponse](https://github.com/iotaledger/iota-java/blob/master/jota/src/main/java/org/iota/jota/dto/response/StoreTransactionsResponse.java) storeTransactions(String[] trytes)
Stores transactions in the local storage. The trytes to be used for this call should be valid, attached transaction trytes. These trytes are returned by `attachToTangle`, or by doing proof of work somewhere else.
@@ -27,7 +27,7 @@ Stores transactions in the local storage. The trytes to be used for this call sh
IotaAPI iotaAPI = new IotaAPI.Builder().build();
try {
- StoreTransactionsResponse response = iotaAPI.storeTransactions(new String[]{"FZE9UXESVWNRVHRPGEAGHYTUE ... DKSUNMZ9YMOYMPBKOPUXCEWJN", "IGTJJFUYMJDOICSZRXDGIG9ZX ... IIHMKR9VXH9ZTTPOQAULBDACL"});
+ StoreTransactionsResponse response = iotaAPI.storeTransactions(new String[]{"XEIHGMZRJVMMICZQLMRTGBDXH ... YOMRYHEEERVHIM9GPDJ9NWQSX", "IAWUU9ZYSKLJXIDXP9BKFBCQO ... GQVAJDMXTKLCUU9HGRREQZWUM"});
} catch (ArgumentException e) {
// Handle error
e.printStackTrace();
diff --git a/docs/iota-java/traverseBundle.md b/docs/iota-java/traverseBundle.md
index 304251d2..adcee3dd 100644
--- a/docs/iota-java/traverseBundle.md
+++ b/docs/iota-java/traverseBundle.md
@@ -1,5 +1,5 @@
-# [traverseBundle](https://github.com/iotaledger/iota-java/blob/master/jota/src/main/java/org/iota/jota/IotaAPI.java#L1152)
+# [traverseBundle](https://github.com/iotaledger/iota-java/blob/master/jota/src/main/java/org/iota/jota/IotaAPI.java#L1169)
[Bundle](https://github.com/iotaledger/iota-java/blob/master/jota/src/main/java/org/iota/jota/model/Bundle.java) traverseBundle(String trunkTx , String bundleHash , [Bundle](https://github.com/iotaledger/iota-java/blob/master/jota/src/main/java/org/iota/jota/model/Bundle.java) bundle)
Traverses the Bundle by going down the trunkTransactions until the bundle hash of the transaction changes. In case the input transaction hash is not a tail, we return an error.
@@ -31,7 +31,7 @@ Traverses the Bundle by going down the trunkTransactions until the bundle hash o
IotaAPI iotaAPI = new IotaAPI.Builder().build();
try {
- Bundle response = iotaAPI.traverseBundle("9KMVSCSOAGIDMS9SCMNDCTRHW9OFTMUAZHGPRTOWUAEETKRPKTG99TYBZ9XBM9THNWJYTEOZTAGWTZPRJ", "9MYMRXQTTKSIGPVUUQYFMJOHPGHAHSSYAENVJWJNIHRKSUWAKJZBUQIJEOMISUPDRESZIVYSRPAG9OD9K", bundle);
+ Bundle response = iotaAPI.traverseBundle("CJXUCJZNAQOYAK9KRFILHBMOHDXGMJEDOSLWWZXZRDHFGORBHPQVGLFRRRTJTXTCEWBHJXIOMJUCCXHMO", "XZSCYHFFLWLZOSMKEXBBSHVHNG9FITFDTVRMYFJ9IHDUENHFRKQZKPMIORTWYHRHPEWXKYSXXQHAYSQIL", bundle);
} catch (ArgumentException e) {
// Handle error
e.printStackTrace();
diff --git a/docs/iota-java/validateTransfersAddresses.md b/docs/iota-java/validateTransfersAddresses.md
index 6324d8cd..d9b8b36e 100644
--- a/docs/iota-java/validateTransfersAddresses.md
+++ b/docs/iota-java/validateTransfersAddresses.md
@@ -1,5 +1,5 @@
-# [validateTransfersAddresses](https://github.com/iotaledger/iota-java/blob/master/jota/src/main/java/org/iota/jota/IotaAPI.java#L1454)
+# [validateTransfersAddresses](https://github.com/iotaledger/iota-java/blob/master/jota/src/main/java/org/iota/jota/IotaAPI.java#L1471)
void validateTransfersAddresses(String seed , int security , List trytes)
Validates the supplied transactions with seed and security. This will check for correct input/output and key reuse
@@ -32,7 +32,7 @@
IotaAPI iotaAPI = new IotaAPI.Builder().build();
try {
- iotaAPI.validateTransfersAddresses("YOUR9SECRET9SEED9999999...", 3, new List(new String[]{"TWEJTSBRO9MHTOEUXIGRCKBWH ... ZZ9WMQZY99IIAZHLXOTHAVDPN", "SLENCSKSKIBEJIFCZDOENQAPS ... WQCQCLSNZTZKLOSYTQRKLBIDP"}));
+ iotaAPI.validateTransfersAddresses("YOUR9SECRET9SEED9999999...", 3, new List(new String[]{"FVYMDZDBVEB9SAHFFNIJEHEMG ... UJWSIIEGHKJSZWOQZQGOWKCFB", "IIBDFAEVXGLSCQFZEUOQCGOSS ... A9JIUZSFUJVKIMQPIMPWTQKQQ"}));
} catch (ArgumentException e) {
// Handle error
e.printStackTrace();
diff --git a/docs/iota-java/wereAddressesSpentFrom.md b/docs/iota-java/wereAddressesSpentFrom.md
index f7e86acb..f5880f70 100644
--- a/docs/iota-java/wereAddressesSpentFrom.md
+++ b/docs/iota-java/wereAddressesSpentFrom.md
@@ -1,5 +1,5 @@
-# [wereAddressesSpentFrom](https://github.com/iotaledger/iota-java/blob/master/jota/src/main/java/org/iota/jota/IotaAPICore.java#L547)
+# [wereAddressesSpentFrom](https://github.com/iotaledger/iota-java/blob/master/jota/src/main/java/org/iota/jota/IotaAPICore.java#L612)
[WereAddressesSpentFromResponse](https://github.com/iotaledger/iota-java/blob/master/jota/src/main/java/org/iota/jota/dto/response/WereAddressesSpentFromResponse.java) wereAddressesSpentFrom(String[] addresses)
Check if a list of addresses was ever spent from, in the current epoch, or in previous epochs.
@@ -29,7 +29,7 @@ Check if a list of addresses was ever spent from, in the current epoch, or in pr
IotaAPI iotaAPI = new IotaAPI.Builder().build();
try {
- WereAddressesSpentFromResponse response = iotaAPI.wereAddressesSpentFrom(new String[]{"PFDSTQIZRRPNZVBNQTLRIXSIGDLLR9TZGVSXNREDAUMCYUAS9NZZZXCGY9UZEMMZCMBXLKIKNXHZRUEBG", "VIELNLTLAEKCHJTKNGHSGAKCFFLRVW9JFHZKPXRVKNWQDIWGIOWHFZZNTBNFMOXDMFFYMPWGHVVZITBJD"});
+ WereAddressesSpentFromResponse response = iotaAPI.wereAddressesSpentFrom(new String[]{"TKRPCG9HFYBUZAGAZVKKEZ9IQNIYHJCNUKVYVMNXQSFDLTOQPEFEFMFUMHDFQSGRKSFDIIZDIORNQJNHT", "C9BKKDECYDSNKSUTMDLLFRB9MSIQJQXIHLFNRCNHWKBLEJAZMDCXZDGLDQLDDZKIJRTIIZIDM9YMPTER9"});
} catch (ArgumentException e) {
// Handle error
e.printStackTrace();
diff --git a/jota/pom.xml b/jota/pom.xml
index a99ae3cf..5de3f7f9 100644
--- a/jota/pom.xml
+++ b/jota/pom.xml
@@ -5,7 +5,7 @@
org.iotajota-parent
- 1.0.0-beta8
+ 1.0.0-beta9JOTA : Library
diff --git a/pom.xml b/pom.xml
index 43be887a..0a84a575 100644
--- a/pom.xml
+++ b/pom.xml
@@ -5,7 +5,7 @@
org.iotajota-parent
- 1.0.0-beta8
+ 1.0.0-beta9pomJOTAJOTA library is a simple Java wrapper around IOTA Node's JSON-REST HTTP interface.
@@ -78,7 +78,7 @@
- com.github.iotaledger
+ org.iotajava-md-doclet2.2