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.3.0.tar.gz (50.8 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.3.0-py3-none-any.whl (60.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: toncenter-0.3.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

Hashes for toncenter-0.3.0.tar.gz
Algorithm Hash digest
SHA256 cc31a63841a13e5b18881101fff49d8a61aa5a212f14c4366070bf3344eea782
MD5 277aa69eb87b670bf13345f54fe6bb84
BLAKE2b-256 477b5255c7c0ba13f2d27a4b81298ade58bd42929ab8f9be194c57c78bf948b7

See more details on using hashes here.

File details

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

File metadata

  • Download URL: toncenter-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 60.9 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.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b489a910561dc99fc8c00196115df475b5ba51d1f51b4e02394f97638605e3c7
MD5 0b4cb4142d2d41d97304b7a141f8a060
BLAKE2b-256 cc2bdeba52ec9ead3e01fca9753b18bf5c60b1db4f39f946be739f1542b66a04

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