Questions tagged [iri-api]

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

8 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
8
votes
0answers
205 views

How to get the cumulative weight (and score, height, depth) of a transaction?

I know that I can get the weight of a transaction by converting the transaction hash into trits and count the trailing number of zeros. import iota def get_transaction_weight(transaction_hash): ...
4
votes
0answers
134 views

How to connect cli-app with IOTA Javascript Library

I installed IOTA CLI Wallet and executing 'iota-cli' works after iri is executed. I get NodeInfo command run on iota-cli from my terminal also. So I guess a stand alone IOTA wallet core is now ...
2
votes
0answers
34 views

Caching account data

Reading through the documentation for the IOTA Javascript Library I realized the method iota.api.getAccountData can be provided with an starting index: iota.api.getAccountData(seed, {start: 123}, ...
1
vote
0answers
66 views

What does the new parameter 'reference' do in sendTrytes?

PR #112 added a second parameter, namely String reference, to GetTransactionsToApproveResponse. This parameter can also be set in sendTrytes. The Javadoc there says Hash of transaction to start ...
0
votes
0answers
18 views

latestSolidSubtangleMilestone: '999999999999999999999999999999999999999999999999999999999999999999999999999999999'

I ran IOTA node on localhost and also got connected to a neighbor, but when I call an api of getnode info it results latestSolidSubtangleMilestone with 99999...and even sending any message shows me ...
0
votes
0answers
12 views

Accessing JSON message from IRI node API using Python 3

I am using one command tangle. The tangle is running on Ubuntu machine. From the list of APIs given for IRI node, I'm trying to broadcast a transaction. For this, the first step is to get ...
0
votes
0answers
31 views

What is the difference between IRI-Playbook and IRI full node (Private tangle)?

I know there is three type of full node: 1- mainnet 2- devnet 3- testnet I wand to build private IoTA network with full control. So, I have found tutorial for private tangle: https://docs.iota.org/...
0
votes
0answers
36 views

How to understand if a transfer is an ingoing or an outgoing one by calling getAccountData?

I'd like to know how I can check if a transfer is an ingoing or an outgoing one, and know the respective sent/received amount by calling getAccountData from the Iota JavaScript library.