Skip to content
 
 

Repository files navigation

πŸ“¦ TON Center

TON Python Versions PyPI License Donate

Image

Downloads Downloads Downloads Context7

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.

Examples

REST API v2

REST API v3

Streaming (SSE & WebSocket)

License

This repository is distributed under the MIT License.

About

Python SDK for TON Center β€” REST API and Streaming for TON blockchain.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages