Questions tagged [iri-legacy-api]

For questions related to IOTA's (Legacy) Application Programming Interface (API)

[This tag is about an obsolete legacy IOTA protocol that is no longer used on the IOTA mainnet. Its content is preserved mainly for historic interest.]

The IOTA Java client makes it possible to interact with your local node and request certain information or actions to be taken. Once your node is set up, you can interface with it through port 14265 by passing along a JSON object which contains a specified command; and upon successful execution of the command, returns your requested information.

The main priority of the API is security. As such, anything that has to do with private keys is done client side. There are several libraries that take care of security.

IOTA's API can be used in Curl, Python, Javascript and NodeJS.

59 questions
6
votes
1 answer

How does a client detect new IOTA transactions?

I am trying to understand IOTA at code level and the APIs. 1) How does a client know that there is a new transaction that it needs to fetch from a node? Does it keep calling findTransactions and downloading all transactions related to a given set of…
Klaus
  • 183
  • 1
  • 4
4
votes
1 answer

Same Bundle Hash but currentIndex is always 0

I'm using findTransactionObjects() to receive all transaction objects for a given {address} which I used to receive IOTA. In the data structure that gets returned, one of the Bundle Hashes can be found 47 times. {lastIndex} in these transactions is…
ralf
  • 1,063
  • 5
  • 10
4
votes
1 answer

Get approvers of transaction using api?

Given a transaction, how do I get a list of all of the transactions that reference it as their trunk or branch? I'm using pyota, but solutions in the other libraries would be appreciated too.
takra
  • 435
  • 2
  • 9
3
votes
1 answer

Invalid address input returned by findTransactions() though TX is avail on thetangle.org

If I submit my address ZOWKEWUCNRDICY9DWEPWGYCUZBZIFHR9MFK9ECSEDDTWNHVQYYHH9YMTVFODAWEEMNLURHCTXDXPGIVADBCXR9OOCZ at https://thetangle.org/ I get all the details for TXs on this address. However, if I submit an API request against my fully synced…
ralf
  • 1,063
  • 5
  • 10
3
votes
1 answer

API Validation failed: Could not complete request

The following message is thrown in the logs when attempting to access my wallet: API Validation failed: Could not complete request
Scott Foster
  • 429
  • 2
  • 7
3
votes
1 answer

findTransactionObjects returning an empty array when searching for a valid bundle hash

I'm doing this, which returns an empty array: const iota = new IOTA({ provider: 'http://node05.iotatoken.nl:16265' }); iota.api.getNodeInfo(function(error, success) { if (error) { console.error(error); } else { var…
iotaman
  • 33
  • 2
1
vote
1 answer

Is there an IOTA PHP library?

How can I implement IOTA in my website in a way people can't see the code (contrary of javascript)? Each user would have an seed, how can I handle this sensitive information using IRI API?
user1710