Under central bank regulations, we have to monitor the last 30 days of any receipts of funds to one or more addresses, each of which has been given send and receive permissions. We store the KYC status of a user identified by a hash of full name, DOB and email or phone so that once a user is verified they can add as many addresses as they like, which we store on our DB or on chain. We then monitor each address for total inwards amounts for last 30 days and add them up for each user, and then revoke the send and receive if over 100,000 Pesos..next day we can give them permissions if the amount is less.
Question is, what is the most effective way to do the transactions search for transactions in this way?.. I have an idea, using listaddresstransactions, but perhaps there are ways I haven't thought of that are more effective?