Skip to main content

All Questions

Tagged with or
Filter by
Sorted by
Tagged with
1 vote
1 answer
88 views

Prepare a message with full indexation payload. My own Iota client. How to do POW on the client

I decided to do my own Iota Client Library on Qt, until the C one from the foundation is out (because Rust is killing me). I have check HTTP REST API documentation. I have implemented a minimal ...
user avatar
0 votes
0 answers
28 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 ...
degr8sid's user avatar
0 votes
0 answers
47 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/...
Istabraq Mahmood's user avatar
0 votes
1 answer
52 views

Error in neighbors list on IoTA full node iri-playbook

I have install iri-playbook but when I want to show my neighbors list using this command nbctl -l it shows this error: ERROR: Error response from node: code 500, response: '{"exception":"port out of ...
Istabraq Mahmood's user avatar
2 votes
1 answer
97 views

IOTA API command to request transaction details

I use Curl to familiarize myself with the IOTA API. By using findTransactions you can query the transaction hashes of addresses, bundles, tags and approvees. But which command returns the details of ...
nullpointr's user avatar
0 votes
0 answers
41 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.
alle.manfredi's user avatar
3 votes
1 answer
53 views

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) { ...
iotaman's user avatar
  • 33
1 vote
0 answers
70 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 ...
mike's user avatar
  • 251
1 vote
1 answer
47 views

Is it able to fetch transactions from previous snapshot via api?

With current global snapshot feature, transaction data would be wiped out and only addresses with balances would remain. I know we can search these data from some DB archives. But are we able to fetch ...
Wayne Wu's user avatar
  • 304
4 votes
1 answer
123 views

Given a tail transaction hash, can it returns multiple bundles by calling `get_bundles`?

According to pyota library, it states that get_bundles() may return multiple bundles with a specific transaction hash. But even we replay/reattach the bundle, its transactions' hash will change. I ...
Wayne Wu's user avatar
  • 304
5 votes
1 answer
88 views

Possibility of sending a IOTA transaction from a "micro-controller"?

Since IOTA is designed specifically for IoT, is there a specific library for micro-controllers such as ESP, such that we can interact (send a transaction) directly from a micro-controller to the IOTA ...
Questioner's user avatar
4 votes
1 answer
71 views

Finalizing bundle fails

Finalizing the bundle fails, because the ICurl instance (jota.pow.Kerl) can't absorb due to the supplied trits not having the required length. Exception in thread "main" java.lang....
mike's user avatar
  • 251
3 votes
1 answer
160 views

What IRI API commands should only be executed on a node that is synced to the latest milestone?

I want to load balance commands to my nodes. But not all nodes are equally fast. Some commands do not need a node that is completely up to date to finish successfully, like attachToTangle. Therefore I ...
mio's user avatar
  • 175
4 votes
1 answer
66 views

Why is anyone with API access allowed to cancel the 'attachToTangle' operation of another user?

In the IRI, there is no filter that prevents anyone from cancelling another users 'attachToTangle' operation when the POW is in progress. See API.java, case "interruptAttachingToTangle" Why is that?
user avatar
6 votes
1 answer
236 views

IOTA API error when making send transaction call with Node.js client library

I made some test codes to send transactions with Node.js client library, and received the below error response. I cannot find the cause of this error. Did this happen to anyone before? And can anyone ...
Michael Li's user avatar
1 vote
1 answer
106 views

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?
user avatar
2 votes
1 answer
155 views

How do I send a transaction using only POST requests?

On small boards like arduino micro, NodeMCU(esp8266), or teensy, I cannot run an iota node or wallet. I can only transmit POST requests to a iri server. Given a seed, and a message, how do I attach ...
Tsangares's user avatar
  • 808
1 vote
1 answer
161 views

Tangle and transaction explorer

I want to have an isolated tangle for testing purposes. I want to explore and browse this tangle for individual transactions, as I attach new transactions on this tangle. Is there an open source ...
Makan's user avatar
  • 214
2 votes
1 answer
110 views

findTransactionObjects() call returning empty array when searching for tag [duplicate]

With this findTransactionObjects call: iota.api.findTransactionObjects({ tags: [ 'ZARCXARCQCVAZA9BUAZASCVAEXP' ]}, callback) I am getting back an empty array. However, when I search for the tag on ...
EpicButterz's user avatar
3 votes
1 answer
280 views

sendTransfer() 'Invalid transaction hash' when running mainnet but fine on testnet

When running a sendTransfer() on a testnet node (https://testnet140.tangle.works) I can attach without any problems. When I try to use a mainnet node (http://nodes.iota.fm:80) I get Invalid ...
EpicButterz's user avatar
6 votes
1 answer
196 views

findTransaction not finding tag

I was experimenting with some transactions and I wonder why the node cant find a transaction when I search for it by its TAG, yet finds it when I search for it by its transaction hash. Example: ...
Marcus K.'s user avatar
4 votes
0 answers
149 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 ...
SMJ's user avatar
  • 191
7 votes
1 answer
564 views

Iota ZeroMQ consumer

I would like to consume events from my Iota Zmq node. Can somebody help me to do it? I enabled Zmq on my iota node by adding those lines in my iota.ini file : ZMQ_ENABLED = true ZMQ_PORT = 5555 I ...
Parker's user avatar
  • 73
3 votes
1 answer
741 views

How do you find addresses with balance with the seed?

I'm trying to build a small C# client and use the C#-Api on Github. My problem is: With one seed I can generate millions of adresses. How do I find all addresses with balance when I type in my seed? ...
FrankToast's user avatar
4 votes
2 answers
179 views

Attaching an address to the tangle via the API

This is a follow-up question to What does the ATTACH TO TANGLE button do? When using the js-/Python-API, I assume that you have to specify the receive address as the target of the 0-value transaction....
Daniel F's user avatar
  • 921
5 votes
1 answer
352 views

How to attach an address to tangle programmatically?

Say I have a script to generate addresses automatically, how can I attach it to the tangle using the library? From the Javascript library I see that these are the parameters: * @param {string} ...
lulalala's user avatar
  • 415
2 votes
2 answers
251 views

Understanding getTransactionsToApprove

The official docs for getTransactionsToApprove state The higher your depth value, the more "babysitting" you do for the network (as you have to confirm more transactions). I don’t exactly ...
ralf's user avatar
  • 1,063
1 vote
2 answers
201 views

Python API - Reattaching transactions after snapshot

I have a small seed for testing using the Python API, linking to a local CarrIOTA node. The seed has only one used address. If I run get_account_data(), the balance shows as 0 since I haven't ...
topological-donut's user avatar
2 votes
0 answers
39 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}, ...
josemmo's user avatar
  • 121
1 vote
1 answer
71 views

How to save the bundle trytes to reattach after a snapshot? [closed]

How to save the bundle trytes to reattach it after a snapshot? How to do this using the JavaScript library?
Akkumulator's user avatar
  • 1,468
2 votes
1 answer
340 views

How to validate bundle hash

I've been working with a C# port of the API and have managed to get messages posted to the tangle. As most of these are zero values I thought I'd try reattach.online to help get them confirmed. When I ...
Andrew Newland's user avatar
1 vote
1 answer
272 views

Where is the IOTA-Data-MarketPlace API? [closed]

Is the IOTA-Data-MarketPlace API available? At the moment it looks like only the transactions API is available, correct?
Mauro Delrio's user avatar
5 votes
1 answer
113 views

How to get child transactions?

What is the best way to get all children of a certain transaction using any of the IOTA libraries/the IOTA API? By children of a transaction, I mean all transactions that directly reference it.
Zauz's user avatar
  • 4,454
3 votes
1 answer
193 views

Is there a list of all IOTA addresses with non-zero balances?

I would like to know if we could fetch the Tangle to find every addresses with non-zero balances, or if there is already an existing list of all non-zero addresses?
Tak's user avatar
  • 33
8 votes
0 answers
218 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): ...
Fabian Kirsch's user avatar
3 votes
1 answer
135 views

Compute key digest for multi sig wallet

Reading Generating Secure Multisig Addresses (for hot wallets and cold storage), I see the term "key digest". Is this key a private key associated with an address? How to compute the digest? Since ...
lulalala's user avatar
  • 415
5 votes
1 answer
432 views

How to get the sender address from an IOTA transfer

When calling the API with iota.api.getAccountData(receiveSeed, function(e, accountData), the transfer objects I see contain a field called "address" which contains the received address. I would like ...
MorningDew's user avatar
7 votes
1 answer
126 views

'Host Unkown' when trying to connect to Sandbox

We are trying to use the sandbox to test out some functions. I get no response when I ping http://sandbox.iotatoken.com/api/v1/. This does not work: var iota = new IOTA({ 'provider': 'http://...
AndrewSm's user avatar
6 votes
1 answer
886 views

Extracting data from the tangle

The ownership distribution of Iota has been written about but how does one get these addresses? I looked at the Iota API and don't see an obvious way. And the tangle seems like some of it is in binary ...
SatoshiReport's user avatar
7 votes
1 answer
164 views

Is it correct that a wallet which does PoW never needs to call attachToTangle?

This is more or less to confirm my deeper understanding of IRI and how it all works. From the docs and the code what I see is, that attachToTangle outsources the PoW to a node. It is ...
ralf's user avatar
  • 1,063
6 votes
1 answer
117 views

Attaching an address generated by an old version of the library?

For starters, let it be known that attaching an address to a seed is easy using the JS library: iota.api.sendTransfer(seed, 3, 14, [{"address": address, "value": 0, "message": "", "tag": ""}], ...
loof's user avatar
  • 63
2 votes
1 answer
131 views

How to restrict access to certain API commands so that only certain clients can call them?

If wallets use the API port and therefore access to certain functions needs to be restricted, how can a script of mine use the full API without those restrictions? For example https://iotasupport.com/...
Daniel F's user avatar
  • 921
4 votes
1 answer
88 views

How do I find out whether a TX has been reattached?

Querying thetangle.org for one of my addresses, displays all TXs (= transactions) for this address and their state. thetangle.org displays pending, confirmed and reattached confirmed. I am wondering, ...
ralf's user avatar
  • 1,063
6 votes
1 answer
107 views

Javascript Transaction object Message versus Tag

What is the difference between the Message and Tag values when creating a new transaction object via the JS library
GusGorman402's user avatar
2 votes
1 answer
108 views

How do I convert the nonce into an integer value with the official JS lib?

I tried to use fromTrytes() but the function does not accept trytes with an odd length. The nonce appears to always have an odd length, e.g. EPV9MUTXNFDAFNIQLAZWTOLAFJT.
ralf's user avatar
  • 1,063
9 votes
2 answers
217 views

Does "transactionsToRequest==0" mean a node is fully synced with its immediate peers?

I've read through the docs and other posts here. However, I'm not 100% clear as to what transactionsToRequest returned by getNodeInfo() means. Does "transactionsToRequest==0" mean, my node is fully ...
ralf's user avatar
  • 1,063
4 votes
1 answer
52 views

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 ...
ralf's user avatar
  • 1,063
3 votes
1 answer
82 views

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, ...
ralf's user avatar
  • 1,063
8 votes
1 answer
138 views

Is it safe to expose the API to the public? [duplicate]

I just got a full node up and running, following the guide on here http://iota.partners/. I have a firewall on, so all ports are blocked except for UDP 14600 and TCP 15600. In my iota.ini file I have ...
Bjørnar Hagen's user avatar
3 votes
1 answer
210 views

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's user avatar