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?
-walletnotify
for inline commands, but it seems I have to modify theconf
to contain a call to a script. I.e.walletnotify=/home/scripts/transaction.sh %s
. Apparently, the flag only activates the feature. Your answer helped me to get on the right track, though! :) – Martin Braun Dec 19 '21 at 13:55