Skip to content
 
 

Repository files navigation

πŸ“¦ TON API

TON Python Versions PyPI License Donate

Image

Downloads Downloads Downloads Context7

Python SDK for TON API

Access TON blockchain data via REST API, real-time streaming, and webhooks.
API key optional for REST, required for streaming and webhooks β€” obtain at tonconsole.com.

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

Features

  • REST API β€” accounts, NFTs, jettons, DNS, and more
  • Streaming β€” real-time events via SSE and WebSocket
  • Webhooks β€” push notifications with event dispatcher

Support this project β€” TON: donate.ness.ton
UQCZq3_Vd21-4y4m7Wc-ej9NFOhh_qvdfAkAYAOHoQ__Ness

Installation

pip install pytonapi

Claude Code plugin:

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

Documentation

Documentation β€” API reference, streaming, and webhooks guides.
llms.txt β€” auto-generated machine-readable docs for AI tools.

Examples

REST API

Emulation & Sending

Transfers (requires tonutils)

Streaming (SSE & WebSocket)

Webhooks

License

This repository is distributed under the MIT License.

About

Python SDK for TONAPI β€” REST API, streaming, and webhooks for TON blockchain.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages