bit icon indicating copy to clipboard operation
bit copied to clipboard

How to monitor bitcoin address balance?

Open mmkhitaryan opened this issue 4 years ago • 1 comments

I generate a new address every time I need to receive a payment. Then, I need to be notified when balance changes. The only way to do that is .get_balance(). Is there any more real time way to do this? Like webhook or websocket

mmkhitaryan avatar Jan 04 '21 06:01 mmkhitaryan

You're pretty much stuck with polling or having an endpoint that polls you. Some of the APIs might have webhook features.

I think if you run bitcoind, it might have some kind of payment hook feature but I'm not certain.

ghost avatar Jan 04 '21 15:01 ghost