Post
Topic
Board Development & Technical Discussion
Re: Tool or method for finding public key of Bitcoin address
by
mcdouglasx
on 20/11/2023, 15:53:36 UTC
Hi guys. Just wandering  if their is a tool, script or method for finding the uncompressed public key of Bitcoin address. I have heard that you can if an addressed has sent funds. I haven't got a clue on how to find this information. Thanks


only if the address has sent funds.

python


Code:
import requests

addr= "12ib7dApVFvg82TXKycWBNpN8kFyiAN1dr"

r=requests.get('https://blockchain.info/q/pubkeyaddr/'+addr)

if not r.status_code==200:
    print('Error',r.status_code)
    exit()

data = (r.text)
print(str(addr)+"= "+str(data))