cryptocom-tools-explorer
Blockchain explorer tools for the Crypto.com Developer Platform.
Installation
pip install cryptocom-tools-explorer
Features
Read-only blockchain explorer tools:
GetBlockByTagTool- Get block by tag (latest, earliest, pending) or block numberGetTransactionByHashTool- Get transaction details by hashGetTransactionStatusTool- Get transaction confirmation status
Usage
import os
from cryptocom_tools_explorer import (
GetBlockByTagTool,
GetTransactionByHashTool,
GetTransactionStatusTool,
)
# Tools auto-read API key from CRYPTOCOM_DEVELOPER_PLATFORM_API_KEY env var
tool = GetBlockByTagTool()
result = tool.invoke({"tag": "latest"})
print(result)
# Or pass API key explicitly
tool = GetTransactionByHashTool(api_key=os.getenv("CRYPTOCOM_DEVELOPER_PLATFORM_API_KEY"))
result = tool.invoke({"hash": "0x..."})
print(result)
License
MIT
Metadata
Release files for cryptocom-tools-explorer 2.0.0
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 | |
|---|---|---|---|---|
| cryptocom_tools_explorer-2.0.0.tar.gz | 5.2 kB | Without provenance | Details |
Release files / cryptocom_tools_explorer-2.0.0.tar.gz
| Download URL | cryptocom_tools_explorer-2.0.0.tar.gz |
|---|---|
| Size | 5.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
eb5579b938f314e17e811344e71dc3fddc6e7b63e5fcfe4225cb5bb94c8fb7be
|
|
BLAKE2b-256 checksum How to use checksums |
8e4e70dcda4c62b31bde3095aee31d9b6828625e7c625052c2cd52ba2345c54d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.9
|
Security for cryptocom-tools-explorer 2.0.0
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.