Python SDK for TON Center — REST API and Streaming for TON blockchain.
Project description
📦 TON Center
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.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file toncenter-0.4.0.tar.gz.
File metadata
- Download URL: toncenter-0.4.0.tar.gz
- Upload date:
- Size: 50.8 kB
- Tags: Source
- Uploaded using 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}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ffe0d764396afa678a2ec77b75be7403a22f849a2aaca0f19145cdba2b809ad6
|
|
| MD5 |
c2e9654cd578c400804a7367649fa972
|
|
| BLAKE2b-256 |
13ccd07ff9dc7765f71edb151cd92eca96de32c3bb588519020bd5927b9045ea
|
File details
Details for the file toncenter-0.4.0-py3-none-any.whl.
File metadata
- Download URL: toncenter-0.4.0-py3-none-any.whl
- Upload date:
- Size: 61.0 kB
- Tags: Python 3
- Uploaded using 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}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
dca3b7bffc6e33b88e1bf1ae7a360ab3da9da3a3502479c662578defd4d625c0
|
|
| MD5 |
dcda2de42fbcb15fc7baf83e73513f2c
|
|
| BLAKE2b-256 |
16955d7973037270bc6689b43ab2393378505436ace7b111e2b87a8746dec9a6
|