in my application I have groups of dozens bitcoin addresses, each group is associated with a product. I am serializing all addresses in a group and then using blockchain.info API I am trying to get a sum of balances since the product was uploaded in my database.
So the request looks like this:
Unfortunately I have a hard time wrapping my head around the JSON schema returned in the response. Somehow I need to go through all the transactions, filter out the ones which are younger than creation time of a product in my database, and find the balances on incoming transactions.
In my application I want to know if a price for a product was paid, the approach above is something I came up while reading around. Is this approach correct or I am missing something important?