bit
bit copied to clipboard
How to monitor bitcoin address balance?
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
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.