Skip to main content

📦 TON Center

TON Python Versions PyPI License Donate

Image

Downloads Downloads Downloads

Python SDK for TON Center

Access TON blockchain data via REST API and real-time streaming (SSE & WebSocket).
API key optional for REST (~1 RPS without key), required for streaming — obtain via @toncenter bot on Telegram.

For creating wallets, transferring TON, jettons, etc., use tonutils.

Features

  • REST API v2 — direct access to TON nodes (accounts, transactions, blocks, smart contracts)
  • REST API v3 — indexed and enriched data (jettons, NFT, DNS, actions, traces)
  • Streaming — real-time events via SSE and WebSocket

Support this project — TON: donate.ness.ton
UQCZq3_Vd21-4y4m7Wc-ej9NFOhh_qvdfAkAYAOHoQ__Ness

Installation

pip install toncenter

Claude Code plugin:

/plugin marketplace add nessshon/claude-plugins
/plugin install toncenter@nessshon-plugins

Documentation

Documentation — API reference, guides, and streaming examples.
llms.txt — machine-readable docs for AI tools.

License

This repository is distributed under the MIT License.

Metadata

Release files for toncenter 0.4.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for toncenter 0.4.0
File Size Uploaded Provenance
toncenter-0.4.0.tar.gz 50.8 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for toncenter 0.4.0
File Interpreter ABI Platform
toncenter-0.4.0-py3-none-any.whl Python 3 none any Details

Total release size: 111.8 kB

Release files / toncenter-0.4.0.tar.gz

Download URL toncenter-0.4.0.tar.gz
Size 50.8 kB
Tags Source
SHA-256 checksum
How to use checksums
ffe0d764396afa678a2ec77b75be7403a22f849a2aaca0f19145cdba2b809ad6
BLAKE2b-256 checksum
How to use checksums
13ccd07ff9dc7765f71edb151cd92eca96de32c3bb588519020bd5927b9045ea
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.10.10 {"installer":{"name":"uv","version":"0.10.10","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release files / toncenter-0.4.0-py3-none-any.whl

Download URL toncenter-0.4.0-py3-none-any.whl
Size 61.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
dca3b7bffc6e33b88e1bf1ae7a360ab3da9da3a3502479c662578defd4d625c0
BLAKE2b-256 checksum
How to use checksums
16955d7973037270bc6689b43ab2393378505436ace7b111e2b87a8746dec9a6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.10.10 {"installer":{"name":"uv","version":"0.10.10","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Security for toncenter 0.4.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.

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