python – How do I get the worth of a btc handle transaction with pybitcoin instruments?


Let’s imagine that I execute the code beneath when the person accesses the deposit web page.

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

And I let the person deposit into my_address.

How would I acquire the worth of the customers deposit into my_address?

Supply hyperlink

Leave a reply