Skip to main content

Python SDK for TONAPI — REST API, streaming, and webhooks for TON blockchain.

Project description

📦 TON API

TON Python Versions PyPI License Donate

Image

Downloads Downloads Downloads

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.

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

pytonapi-2.2.0.tar.gz (52.7 kB view details)

Uploaded Source

Built Distribution

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

pytonapi-2.2.0-py3-none-any.whl (74.7 kB view details)

Uploaded Python 3

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

Hashes for pytonapi-2.2.0.tar.gz
Algorithm Hash digest
SHA256 c22f0416fc85c1219ef7b731a383c393b4212bd016805280f1c3c875dfed361a
MD5 8da5158393f3b27f5460a26931a0157b
BLAKE2b-256 42005e690e3a29d85d8a32b34a135b8e48474c0121eb586f66580d58c5acb7d2

See more details on using hashes here.

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

Hashes for pytonapi-2.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a6c31e8c375385fdbbbd9464de6d61c7727520d604dcdd76f295568afff7a121
MD5 b1fa2063bf2ad05468699dee88d8a1cb
BLAKE2b-256 c092f0746fe373a4ad617a256dc888227ac5774dc40f453326da0d9b19ce8e05

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