I am currently using getMonero Wallet service to create a recorder of my account withdrawal and deposit history program. The language and the environment are not yet defined. I would like to record the deposit to my wallet and I want to distinguish each payment by paymentID. My research on the web shows that we can use the "show_transfers" command to get a list of all past history. However, in such cases, it is difficult to call each time because there are also duplicate details of past deposit or withdrawal events. Is there a way to view or record only new deposits by date? If so, which API should I use and how can I get it in the same string as the string data type?
Q1 : how to get an event signal (like a Windows API event handler) on every deposit or withdrawal?
Q2 : how to get record on each event (deposit or withdrawal)?