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 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.

Project details


Release history Release notifications | RSS feed

This version

2.2.1

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.1.tar.gz (53.1 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.1-py3-none-any.whl (75.1 kB view details)

Uploaded Python 3

File details

Details for the file pytonapi-2.2.1.tar.gz.

File metadata

  • Download URL: pytonapi-2.2.1.tar.gz
  • Upload date:
  • Size: 53.1 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 pytonapi-2.2.1.tar.gz
Algorithm Hash digest
SHA256 7ad42768c51d7bafd570a3b01c117ecaf77e52321fad6957845079c99570570e
MD5 b14d7744d396dc742e86c725815bcb1a
BLAKE2b-256 4577eed46541bcb6e39a8b7f9adad64b37f6bef0452f5bd1bb6a55b78cad3e69

See more details on using hashes here.

File details

Details for the file pytonapi-2.2.1-py3-none-any.whl.

File metadata

  • Download URL: pytonapi-2.2.1-py3-none-any.whl
  • Upload date:
  • Size: 75.1 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 pytonapi-2.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 bcc52bd35b825cba7465a30ad0eb008b6f113c4c14dab48793eb6bed8d76b2f3
MD5 847f3cc6e76b26cca65c5d6788d10526
BLAKE2b-256 d396875a2d67fc877086acd599dcf711398922991666fefed922289be962acb3

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