0

I am running a code to publish random data on Tangle via MAM. If I don't fetch the data at the same time, and I just want to confirm if it has been published on Tangle, how do I do that?

Also, is it possible to fetch the data that I published previously?

I am running this sample program using a Devnet node.

2 Answers 2

1

You just run Mam.fetch. You need to store the root somewhere, and the sideKey if you are using “restricted” mode.

1

What library do you use? You can check, if the transaction is referenced by a milestone. This is the ultimate confirmation for your transaction. If the milestone directly or indirectly confirms your transaction, the transaction is received by all full-nodes.

1
  • I am using node.js for libraries for MAM script. How will I check with this?
    – degr8sid
    Commented Dec 23, 2019 at 13:38

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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