Skip to main content

Python SDK for TON Center — REST API and Streaming for TON blockchain.

Project description

📦 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.

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

toncenter-0.2.0.tar.gz (45.9 kB view details)

Uploaded Source

Built Distribution

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

toncenter-0.2.0-py3-none-any.whl (58.5 kB view details)

Uploaded Python 3

File details

Details for the file toncenter-0.2.0.tar.gz.

File metadata

  • Download URL: toncenter-0.2.0.tar.gz
  • Upload date:
  • Size: 45.9 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

Hashes for toncenter-0.2.0.tar.gz
Algorithm Hash digest
SHA256 d35f119a560695dbcc6d96254ef3e2b53879796d83119913506de1bb9613fe59
MD5 9e29f8e92a84c42ba1bffe9dd7877f96
BLAKE2b-256 c5854164bbb9efd9302f21301f39650da9f5a9bee647ee9dd9e6d8203a5b86a3

See more details on using hashes here.

File details

Details for the file toncenter-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: toncenter-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 58.5 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

Hashes for toncenter-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 202443b454cd1b30673c0743a3c01b89e8427bf8928878f6e559e30034e98b5d
MD5 3faf11f89a0284b9e1d59717965c7c07
BLAKE2b-256 e40f0aa2a370b9dafce21f6ff0c830ae4d8c1afb93a12aa698ecfdebb164ca9a

See more details on using hashes here.

Supported by

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