1

Ideally I would like to watch some wallet address and get informed when new transaction has occured. In order to raise safety level I don't want to store mnemonic on the server.

I looked up node examples on official iota-sdk but couldn't find anything mentioned or I just don't understand the terminology.

1 Answers1

0

You can instantiate a Client object and ask it for basicOutputIDs that are unlockable by your address. Once a new output appears there, some transaction that targets that address had been confirmed. In case you expect to also receive other objects like NFTs, you can also ask for either these output types or for generally any "outputID".

If you want to know the details of the transaction, you can load the output by output ID and find the amount and tokens, then load the transaction in case you are curious where you got that from.

mihi
  • 7,324
  • 2
  • 15
  • 34