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 required — obtain at tonconsole.com, docs at docs.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

Examples

REST API

Streaming (SSE & WebSocket)

Webhooks

Transfers (requires tonutils)

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.0.2.tar.gz (45.5 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.0.2-py3-none-any.whl (67.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pytonapi-2.0.2.tar.gz
  • Upload date:
  • Size: 45.5 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.0.2.tar.gz
Algorithm Hash digest
SHA256 0af32d90950ac4bb8ee5be7971503b5423faa4e42d5a507327e0a72eb83d6417
MD5 0d1299a14a98b08c6c2a4216d34e9609
BLAKE2b-256 a602ba9e163bbd214f3d59364781f1a3d13808edbc843cf6226551e050418e67

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pytonapi-2.0.2-py3-none-any.whl
  • Upload date:
  • Size: 67.5 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.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 a45b7416b19b7a9648d3ca58c246ba6ef4294e79089516012e36d6b2c8857e05
MD5 5a210ac00b39bc379523594301ffa324
BLAKE2b-256 3b0a1af59aaf63c5da2ddbd34df050850168a2cb6d02f9766387993e2667850b

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