Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import requests
- def get_address_info(address, blockchain):
- url = f"https://api.blockchair.com/{blockchain}/dashboards/address/{address}"
- response = requests.get(url)
- if response.status_code == 200:
- data = response.json()
- return data
- else:
- print("Errore nella richiesta API")
- return None
- # Indirizzi da analizzare
- address = '1FUDDUoVQLLb2MfgR9qKX3wfiz9xrCEbzk'
- blockchain = 'bitcoin'
- get_address_info(address, blockchain)
Add Comment
Please, Sign In to add comment