Releases: tonkeeper/pytonapi
Releases · tonkeeper/pytonapi
v0.4.5
What's Changed
- Refactored code: Replaced
httpx
withaiohttp
to enhance performance. - Breaking change: Removed support for synchronous methods.
- Removed methods:
JettonsMethod.get_all_holders
AccountsMethod.get_all_nfts
NftMethod.get_all_items_by_collection_address
These methods were removed due to issues arising from inconsistent RPS in looping operations.
Full Changelog: v0.4.4...v0.4.5
v0.4.4
v0.4.2
What's Changed
- Added webhook methods to the API (see Webhooks API Documentation).
- Fix
currencies
inv2/accounts/{account_id}/jettons
by @aiexz in #30
New Contributors
Full Changelog: v0.4.1...v0.4.2
v0.4.1
What's Changed
- Updated
v2/accounts/{account_id}/jettons
andv2/accounts/{account_id}/jettons/{jetton_id}
: addedcurrencies
andsupported_extensions
parameters. Usesupported_extensions=["custom_payload"]
to display the balance of mintless jettons (e.g., Hamster).
0.4.0
v0.3.9
What's Changed
- Added custom handling for missing enum values.
- Updated schema to fix token verification validation error with graylist status. #24
What's Added
- Added
/v2/liteserver/get_out_msg_queue_size
method. - Added
/v2/blockchain/reduced/blocks
method. - Added
/v2/events/emulate
method. - Added
/v2/traces/emulate
method. - Added
/v2/wallet/emulate
method. - Added
/v2/jettons/{jetton_id}/transfer/{account_id}/payload
method. - Added
/v2/accounts/{account_id}/multisigs
and/v2/accounts/{account_id}/events/emulate
methods. - Added enums for
NftApproval
andTrustType
.
Full Changelog: v0.3.7...v0.3.9
v0.3.7
What's Changed
- Refactored code structure and fixed type errors.
- Updated Pydantic model schemas from v1 to the latest version.
- Refactored
/v2/status
and/v2/address/{account_id}/parse
methods into a separateutilities
category. - Renamed functions:
amount_to_nano
toto_nano
andnano_to_amount
toto_amount
. Addeddecimals
parameter for token conversion (e.g., USDT).
What's Added
- Added
/v2/gasless/*
methods. - Added
/v2/rates/markets
method. - Added
debug
option for debugging inAsyncTonapi
andTonapi
. - Added a new field
admin
to theJettonInfo
schema. #23 - Added an example for gasless transactions on Wallet V5.
Full Changelog: v0.3.6...v0.3.7
v0.3.6
v0.3.4
What's Changed
- Fix: Corrected a
TypeError
that occurred with the messageCallable[[arg, ...], result]: each arg must be a type. Got Ellipsis.
The type hint has been adjusted for compatibility with Python versions earlier than 3.10.
Full Changelog: v0.3.3...v0.3.4