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.


curl http://iota.love:16000 \
-H 'Content-Type: application/json' \
-H 'X-IOTA-API-Version: 1' \
-d '{"command": "findTransactions", "tags": 

for example returns


while searching for the bundle hash returns me the transaction:

curl http://iota.love:16000 \
-H 'Content-Type: application/json' \
-H 'X-IOTA-API-Version: 1' \
-d '{"command": "findTransactions", "bundles":   

returns me the transaction




The problem is caused by the fact that a transaction has two "tag" fields. The traditional/obsolete one (called either "tag" or "obsoleteTag"), and a "new tag" which is not part of the signature.

Thetangle.org shows the new tag, while the search functions search for the old one.

So whenever the tags of a transaction differ, you won't be able to find it via the tag shown on thetangle.org.

Try QDBDSARBDBQBKBDBOCB9I9ABIAZ and you will find your transaction.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.