Pytonapi

Latest version: v0.4.3

Safety actively analyzes 681935 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 4

0.4.2

What's Changed
* Added webhook methods to the API (see [Webhooks API Documentation](https://docs.tonconsole.com/tonapi/webhooks-api)).
* Fix `currencies` in `v2/accounts/{account_id}/jettons` by aiexz in https://github.com/tonkeeper/pytonapi/pull/30

New Contributors
* aiexz made their first contribution in https://github.com/tonkeeper/pytonapi/pull/30

**Full Changelog**: https://github.com/tonkeeper/pytonapi/compare/v0.4.1...v0.4.2

0.4.1

What's Changed

- Updated `v2/accounts/{account_id}/jettons` and `v2/accounts/{account_id}/jettons/{jetton_id}`: added `currencies` and `supported_extensions` parameters. Use `supported_extensions=["custom_payload"]` to display the balance of mintless jettons (e.g., Hamster).

0.4.0

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**: https://github.com/tonkeeper/pytonapi/compare/v0.3.9...0.4.0

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

**Full Changelog**: https://github.com/tonkeeper/pytonapi/compare/v0.3.7...v0.3.9

0.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 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](https://github.com/tonkeeper/pytonapi/blob/main/examples/gasless.py) for gasless transactions on Wallet V5.

**Full Changelog**: https://github.com/tonkeeper/pytonapi/compare/v0.3.6...v0.3.7

0.3.6

What's Changed
- Added support for `v2/sse/blocks` SSE method 22.

**Full Changelog**: https://github.com/tonkeeper/pytonapi/compare/v0.3.4...v0.3.6

Page 1 of 4

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.