Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

whatsonchain

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

whatsonchain

Whatsonchain API.

  • 0.0.3
  • PyPI
  • Socket score

Maintainers
1

Whatsonchain API

Examples

  1. Import whatsonchain and create a 'woc' object for 'main', 'test' or 'stn' networks:

.. code-block:: python

>>> 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.

.. code-block:: bash

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

Credits

  • Whatsonchain_ for their hard work on the Whatsonchain API

.. _Whatsonchain: https://whatsonchain.com/

Donate

  • If you have found this library useful, please consider donating. Every little bit helps.
  • HandCash: $AustEcon
  • 1PdvVPTzXmo4cSs68HctLUxAdW917UZtC8

Keywords

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc