2

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 thetangle.org:

https://thetangle.org/transaction/TRZASQYKGZJSQVPJUWOWPFYVZQOCPSEEFODZOZPZJWPBWEAMMYIDBVWRVMTRTQQCVEONEJRGDTABZ9999

I get back the transfer object. What am I doing wrong here?

4
  • It is a duplicate of findTransaction not finding tag.
    – blockmined
    Mar 7, 2018 at 13:55
  • @RobertoGiorgetti Then please vote to close as a duplicate. As a mod, I cannot vote any more (any of my decisions are final).
    – mihi
    Mar 7, 2018 at 19:32
  • @mihi You are right but I cannot flag as duplicate because indicating the other question I receive the message: "This question does not have an upvoted or accepted answer". Where am I wrong?
    – blockmined
    Mar 7, 2018 at 20:02
  • Sorry @RobertoGiorgetti, you are right, the question did not have an answer at the time you tried to close it first (I wrote it later).
    – mihi
    Mar 8, 2018 at 20:47

1 Answer 1

0

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" (or just "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 CDRCXARCQCVAZA9BUAZASCVAEXP and you will find your transaction.

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