Skip to main content

Whatsonchain API

Examples

  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'}

Installation

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.

Credits

Donate

  • If you have found this library useful, please consider donating. Every little bit helps.

  • HandCash: $AustEcon

  • 1PdvVPTzXmo4cSs68HctLUxAdW917UZtC8

Metadata

Release files for whatsonchain 0.0.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for whatsonchain 0.0.3
File Size Uploaded
whatsonchain-0.0.3.tar.gz 3.2 kB Details

Release files / whatsonchain-0.0.3.tar.gz

Download URL whatsonchain-0.0.3.tar.gz
Size 3.2 kB
Tags Source
SHA-256 checksum
How to use checksums
5f98cd08cbbae65df5e22e3a8b4de84d7d15f8032c29c51afd7521b7f4de41b3
BLAKE2b-256 checksum
How to use checksums
d378a134bc01f33215f0cf1f3d8a6cb1542cc0f9d5e2c31a27195d243c180a47
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/39.0.1 requests-toolbelt/0.8.0 tqdm/4.30.0 CPython/3.7.1

Release history Release notifications | RSS feed

This release

0.0.3 This release

1 release file

0.0.1

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page