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?
Add a comment
|
1 Answer
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. Commented Jan 2, 2018 at 1:13
-
2You 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.– MuanhCommented Jan 2, 2018 at 11:29