Skip to main content

Whatsonchain API.

Project description


  1. Import whatsonchain and create a ‘woc’ object for ‘main’, ‘test’ or ‘stn’ networks:
>>> from whatsonchain import Whatsonchain
>>> woc = Whatsonchain(network='test')
>>> woc.get_address_info('mtsCNJGDVgYaVm3je8UpU5nExgiJgkEv6y')
{'address': 'mtsCNJGDVgYaVm3je8UpU5nExgiJgkEv6y',
 'ismine': False,
 'isscript': False,
 'isvalid': True,
 'iswatchonly': False,
 'scriptPubKey': '76a914926db3be60d18dbaac65785b92a150c37bb4146488ac'}


Whatsonchain is distributed on PyPI as a universal wheel and is available on Linux/macOS and Windows and supports Python 3.5+ pip >= 8.1.2 is required.

$ pip install whatsonchain  # pip3 if pip is Python 2 on your system.


Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for whatsonchain, version 0.0.3
Filename, size File type Python version Upload date Hashes
Filename, size whatsonchain-0.0.3.tar.gz (3.2 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page