5

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 to also get the address of the sender for zero value transactions. Is this possible?

4

Zero value transactions don't have a sender address. If you wan't to get them for value transactions you can get them through the input of the bundle which had that transaction.

  • Thank you for replying, I'm trying to do a PoC of this answer on a different question. iota.stackexchange.com/a/575/1382 In this example the users are sending their new addresses to eachother using the tangle, but in order for this to work I need some kind of reference to the sender address to verify that they are the correct person. – MorningDew Jan 2 '18 at 1:13
  • 2
    You can use MAM for this since in MAM you are the only one that is allowed to post to your stream. I know the wallet team is also researching into this. Not sure how far they are pursuing it tho. – Muanh Jan 2 '18 at 11:29

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.