Skip to main content

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

Project description

📦 PyTONAPI

TON Python Versions PyPI License Donate

Image

Downloads Downloads Downloads

Python SDK for TONAPI

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.1.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.1-py3-none-any.whl (67.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pytonapi-2.0.1.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.1.tar.gz
Algorithm Hash digest
SHA256 e89abd84eadf6d422e99acdd2eeb680d66e4d6bf6a0c42d4eb5f72b1f3b05ad7
MD5 cbf0781618ab9715703e9277108b7d0a
BLAKE2b-256 67bf720e8514dc836ef83eb1153e2b5071505389d6a91a2fd77fa42b30f96e2f

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pytonapi-2.0.1-py3-none-any.whl
  • Upload date:
  • Size: 67.4 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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 62a5e0aa057f82e437e260375978782237e4847dbf1b0f9f007c3dc4790ee758
MD5 22be06b4fe2f5a7629ddfb29aed61531
BLAKE2b-256 8edc1099348dabb2dde7b12475f4984619e93315d8c7cd89c8f41b649ebc5015

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