Whatsonchain API
Examples
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
Whatsonchain for their hard work on the Whatsonchain API
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)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| whatsonchain-0.0.3.tar.gz | 3.2 kB | Without provenance | Details for whatsonchain-0.0.3.tar.gz |
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
|
Security for whatsonchain 0.0.3
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.