Hi Guys,
At this time i am working on application that work with NEM blockchain, at this time i need to know who transferred money to our account in my application to charge their account in my layer, i am using this code:
let nem = require("nem-sdk").default;
let endpoint = nem.model.objects.create("endpoint")(nem.model.nodes.defaultTestnet,
nem.model.nodes.defaultPort);
nem.com.requests.account.transactions.incoming(endpoint,
"MY PUBLIC ACCOUNT ADDRESS").then(function(res){
console.log(res.data[3]);
}, function(err){
console.log(err);
});
but the data does not mention the account, i see it is available in my wallet. can you please let me know how i can have Public Address of person that transferred XEM to my account.
Looking forward to hearing from you.
Best Regards,
Majid A.