Python SDK for TONAPI — REST API, streaming, and webhooks for TON blockchain.
Project description
📦 TON API
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
/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.
Project details
Release history Release notifications | RSS feed
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 pytonapi-2.2.0.tar.gz.
File metadata
- Download URL: pytonapi-2.2.0.tar.gz
- Upload date:
- Size: 52.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.10.9 {"installer":{"name":"uv","version":"0.10.9","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 |
c22f0416fc85c1219ef7b731a383c393b4212bd016805280f1c3c875dfed361a
|
|
| MD5 |
8da5158393f3b27f5460a26931a0157b
|
|
| BLAKE2b-256 |
42005e690e3a29d85d8a32b34a135b8e48474c0121eb586f66580d58c5acb7d2
|
File details
Details for the file pytonapi-2.2.0-py3-none-any.whl.
File metadata
- Download URL: pytonapi-2.2.0-py3-none-any.whl
- Upload date:
- Size: 74.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.10.9 {"installer":{"name":"uv","version":"0.10.9","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 |
a6c31e8c375385fdbbbd9464de6d61c7727520d604dcdd76f295568afff7a121
|
|
| MD5 |
b1fa2063bf2ad05468699dee88d8a1cb
|
|
| BLAKE2b-256 |
c092f0746fe373a4ad617a256dc888227ac5774dc40f453326da0d9b19ce8e05
|