bitpay / insight

A bitcoin blockchain explorer and API
https://insight.bitpay.com/
MIT License
1.19k stars 1.11k forks source link

Notify to main site when there is transaction to defined bitcoin address using any api or service #951

Open pavans009 opened 6 years ago

pavans009 commented 6 years ago

[Updated] I am developing one bitcoin buy, sell, withdraw and deposit online platform for one of my client and I stuck in middle of it for Deposit BTC module. I do have set up bitpay 'Bitcore Full Node' and also Insight UI and Insight API and those are working very fine here with all aspects. and my main website is hosted on another separate VPS server.

My Actual problem: Now I want to set callback for user's assigned address on this node server so whenever there is any transaction on those defined and assigned bitcoin address, this callback feature will make call to my main site and update user's order and bitcoin balance based on number of defined confirmations. So is there any way or solution for this task? I meant I am not understanding how it will work and not sure how it can be implemented. Is there any solution in that Full node or Insight API ? or will I need to implement custom solution and then make call to Insight API to get updates of transaction for each defined bitcoin address?

Other points to note down:

Any input, advise, help will be appreciated. Thanks in