I am developing a payment gateway for BTC and have the following problem. I have bitcoind wallet and awaiting of some income for some some list of generated addresses. If i have received something on a the address I remove it from my wait list and make transaction complete. There are a lot of online services that allows me to look transactions or even some JSON-rpc solutions like blockchain.com allow to do it.
But I am wondering if it is possible to do it just using bitcoin-cli RPC protocol and without adding all ammount of addresses to the wallet.