Skip to content

Releases: tonkeeper/pytonapi

0.4.0

12 Sep 21:09
Compare
Choose a tag to compare

What's Changed

  • Fixed loop termination by checking for empty list.

What's Added

  • Added jetton field to ValueFlowJettonsInner for API compatibility. #26

Full Changelog: v0.3.9...0.4.0

v0.3.9

01 Sep 09:25
Compare
Choose a tag to compare

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

Full Changelog: v0.3.7...v0.3.9

v0.3.7

29 Aug 14:07
Compare
Choose a tag to compare

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 separate utilities category.
  • Renamed functions: amount_to_nano to to_nano and nano_to_amount to to_amount. Added decimals parameter for token conversion (e.g., USDT).

What's Added

  • Added /v2/gasless/* methods.
  • Added /v2/rates/markets method.
  • Added debug option for debugging in AsyncTonapi and Tonapi.
  • Added a new field admin to the JettonInfo schema. #23
  • Added an example for gasless transactions on Wallet V5.

Full Changelog: v0.3.6...v0.3.7

v0.3.6

21 Jul 05:02
Compare
Choose a tag to compare

What's Changed

  • Added support for v2/sse/blocks SSE method #22.

Full Changelog: v0.3.4...v0.3.6

v0.3.4

19 Jul 13:19
Compare
Choose a tag to compare

What's Changed

  • Fix: Corrected a TypeError that occurred with the message Callable[[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

v0.3.3

17 Jul 07:20
4af1944
Compare
Choose a tag to compare

What's Changed

  • Skip before_lt only when it's None by @Chipe1 in #21

Full Changelog: v0.3.2...v0.3.3

v0.3.2

20 Jun 13:29
696144f
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v0.3.1...v0.3.2

v0.3.1

14 May 09:26
Compare
Choose a tag to compare

What's Changed

  • Added total count field to JettonHolders schema.
  • Fixed: AttributeError: 'str' object has no attribute 'get'.

Full Changelog: v0.2.9...v0.3.1

v0.2.9

26 Apr 19:43
Compare
Choose a tag to compare

What's Changed

Fixes

  • Updated StateInit schema: The StateInit schema has been revised to include only the boc field. #10

Full Changelog: v0.2.8...v0.2.9

v0.2.8

25 Apr 11:32
Compare
Choose a tag to compare

What's Changed

New Features

  • Added 'liteserver' module to the list of imported schemas in the __all__ variable.
  • Added liteserver.get_account_state tests.
  • Added py.typed to support type checkers by @vladimir-chernykh in #12

Fixes

  • Fixed TypeError: 'type' object is not subscriptable, updated type annotations to support Python versions below 3.10. #13
  • Updated BlockRaw.shard data type from int to str to resolve data inconsistency error. #11

Enhancements

  • Refactored test_get_all_jettons method.

New Contributors

Full Changelog: v0.2.6...v0.2.8