user46239: I would like to monitor incoming transactions for a single address using
bitcoin-cli listreceivedbyaddress 1 false false <myaddress>

My problem is the returned array will become longer and longer and I cannot output the last 10 incoming transactions using the arguments. I don't want to rely on any online service, rather I want to use the CLI.
Can this be done?

user48884: You could use the -walletnotify startup option for bitcoind/bitcoin-qt. This will execute a program whenever the wallet receives a transaction. So you can write a program which is executed for every transaction and looks for ones which have outputs for the addresses you want. Then this program can do whatever to notify you.

46239: <p>I would like to monitor incoming transactions for a single address using</p>
<pre><code>bitcoin-cli listreceivedbyaddress 1 false false &lt;myaddress&gt;
</code></pre>
<p>My problem is the returned array will become longer and longer and I cannot output the last 10 incoming transactions using the arguments. I don't want to rely on any online service, rather I want to use the CLI.</p>
<p>Can this be done?</p>
 48884: <p>You could use the <code>-walletnotify</code> startup option for bitcoind/bitcoin-qt. This will execute a program whenever the wallet receives a transaction. So you can write a program which is executed for every transaction and looks for ones which have outputs for the addresses you want. Then this program can do whatever to notify you.</p>
