3

I have a wallet and without using Monero Wallet GUI, I want to check for incoming transactions every 5 minutes. For that, I will write code (in .NET), that will execute a method every 5 minutes.

What that method should do is currently unknown to me. As far as I know, I can check the blockchain for transactions with my private key. Is it possible or do I need more data than that?

0

1 Answer 1

3

Running ./monero-wallet-cli --generate-from-view-key <private view key>, you can generate a view only wallet file.

Then you can run ./monero-wallet-rpc --wallet-file view-only-wallet --rpc-bind-port 18084 to launch the RPC wallet using your view only wallet file.

Then you can poll the wallet RPC method get_transfers with the field in:true to fetch incoming transactions.

Your Answer

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

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