Skip to main content

pactus-jsonrpc

Python client for interacting with the Pactus blockchain via JSON-RPC.

Installation

pip install pactus-jsonrpc

Usage

import asyncio
from pactus_jsonrpc.client import PactusOpenRPCClient


async def main():
    client = PactusOpenRPCClient(
        headers={},
        client_url="http://127.0.0.1:8545"
    )

    blockchain_info = await client.pactus.blockchain.get_blockchain_info()
    print(blockchain_info)


if __name__ == "__main__":
    asyncio.run(main())

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pactus_jsonrpc-1.16.0.tar.gz (4.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pactus_jsonrpc-1.16.0-py3-none-any.whl (4.8 kB view details)

Uploaded Python 3

File details

Details for the file pactus_jsonrpc-1.16.0.tar.gz.

File metadata

  • Download URL: pactus_jsonrpc-1.16.0.tar.gz
  • Upload date:
  • Size: 4.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for pactus_jsonrpc-1.16.0.tar.gz
Algorithm Hash digest
SHA256 5a42f1aa8b67499587b5db330938161fb95b5f1afc8f440596078e36b72d598a
MD5 8d07cb4f7b4eda51b49548364ac38ec5
BLAKE2b-256 4ef43cde987e6a94f22caabac201169f0d8770b2747fba9f7423a64de29d4edf

See more details on using hashes here.

Provenance

The following attestation bundles were made for pactus_jsonrpc-1.16.0.tar.gz:

Publisher: packager.yml on pactus-project/pactus

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pactus_jsonrpc-1.16.0-py3-none-any.whl.

File metadata

File hashes

Hashes for pactus_jsonrpc-1.16.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d4c941fe9ab6d150bd6db24c33e4fbca4faf86198b015415c188141ab8758e86
MD5 68cc6a7b05071fc184e985b97bac2931
BLAKE2b-256 a60a824e4c16ecc3fffb5738ff16e53139d4170fa19ffab1263a95b81099ce87

See more details on using hashes here.

Provenance

The following attestation bundles were made for pactus_jsonrpc-1.16.0-py3-none-any.whl:

Publisher: packager.yml on pactus-project/pactus

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

This release

1.16.0 This release

2 files

1.15.6

2 files

1.15.5

2 files

1.15.3

2 files

1.15.2

2 files

1.15.1

2 files

1.15.0

2 files

1.14.0

2 files

1.13.0

2 files

1.12.0

2 files

1.11.1

2 files

1.11.0

2 files

1.10.1

2 files

1.10.0

2 files

1.9.4

2 files

1.9.3

2 files

1.9.1

2 files

1.9.0

2 files

1.8.0

2 files

1.7.4

2 files

1.7.0

2 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page