Skip to main content

py-shardeum-explorer

A minimal, complete, python API for Shardeum Explorer.

Usage

Install the package from PyPi

pip install py-shardeum-explorer

To use it in your code, import the py-shardeum-explorer module:

from shardeumexplorer import ShardeumExplorer

shmexp = ShardeumExplorer("Liberty") // currently it supports the only alphanet
  • To View Balance of a Specific Address. It returns the value (in SHM)
shmexp.get_account_balance("0x822429119D53055fB11E69213613851ba28bd888")
  • To View Balance of a Multiple Address. It returns a dictionary where the key is an address and its corresponding value is its balance.
shmexp.get_account_balance_multiple(["0x822429119D53055fB11E69213613851ba28bd888","0x73155b7350C500Abd7235d42695F01ff4307a4fa"])
  • To View Total Accounts Existing in the Network.
shmexp.total_accounts()

Note: This package is still nascent and might be broken with continuous updates on the network. More functionalities will be added to the package soon. Work In Progress. 🚧

Found Issues/Bugs?

Report Issues here

Metadata

Release files for py-shardeum-explorer 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 py-shardeum-explorer 0.0.3
File Size Uploaded Provenance Actions
py-shardeum-explorer-0.0.3.tar.gz 3.4 kB Without provenance Details for py-shardeum-explorer-0.0.3.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for py-shardeum-explorer 0.0.3
File Interpreter ABI Platform Actions
py_shardeum_explorer-0.0.3-py3-none-any.whl Python 3 none any Details for py_shardeum_explorer-0.0.3-py3-none-any.whl

Total release size: 7.2 kB

Release files / py-shardeum-explorer-0.0.3.tar.gz

Download URL py-shardeum-explorer-0.0.3.tar.gz
Size 3.4 kB
Tags Source
SHA-256 checksum
How to use checksums
69ecd0944d3400018af7543d55dba0e2a7602779ea0b47d443d41be57fb0b642
BLAKE2b-256 checksum
How to use checksums
f07545687713c5f7a048af7f9c760fa10963ed893303fed9e4f6ccb528733fff
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.0 CPython/3.8.10

Release files / py_shardeum_explorer-0.0.3-py3-none-any.whl

Download URL py_shardeum_explorer-0.0.3-py3-none-any.whl
Size 3.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
39d18262262b3d3ea13dd84a0b0675001a3c26cdcf72e79d265e250164d7fe29
BLAKE2b-256 checksum
How to use checksums
3a9a83bc96e9cf1e43cd8f8e722e0d878849642e898bc505ed2db30759dbc3b5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.0 CPython/3.8.10

Security for py-shardeum-explorer 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.

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