Event to receive information about payment on address

Hi

Now I have check every second my address if any money has come on my address.
Is there any event (in Zcash API Payment) to inform me about payment on my address ?

2 Likes

I’m not positive, but z_listreceivedbyaddress seems like what you want: https://zcash.readthedocs.io/en/latest/rtd_pages/payment_api.html#z-listreceivedbyaddress

You can use ‘walletnotify’ in your zcash.conf to call a script - it gets called when a payment is received and again when it gets the first confirmation.

4 Likes