September 26, 2026

How do I get the value of a btc address transaction with pybitcoin tools?

Lets say that I execute the code below when the user accesses the deposit page.

my_private_key = random_key()
my_public_key = privtopub(my_private_key)
my_address = pubtoaddr(my_public_key)

And I let the user deposit into my_address.

How would I obtain the value of the users deposit into my_address?

Previous Article

Trying to create a bitcoin based webapp in python which takes BTC deposits. How would I use pybitcointools to implement this?

Next Article

Failed to start lightningd.service: Unit bitcoind.service not found