TonTools
TonTools copied to clipboard
High-level OOP Python library to interact with TON Blockchain
This pull request adds new methods to the TonCenterClient service provider to support additional API endpoints from the TON Network that are not currently available in the original repository. The...
Fix issue #7
Fix an odd error in get transactions,not decoding well if transacctions are not in base64 mostly ocurring with v3r2 walllets 
Calling some NFTs terminates with Index Error Example: EQCifXBCDck38y4XSHohUCNLYIRvfturbJ9JNaS0wO4lO6kI
- Fixed bugs, improved overall logic, and enhanced the UX based on feedback and testing. - Upgraded the logic to interact with TonAPI v2. - Added the `SafeLsClient` client class....
There are some tokens that do not have description and this causes Key error on getting jetton data even though the other fields are present.
The method of returning URLs has changed. Modify the method to retrieve the URL. and modify parse cell info.
```python import asyncio from TonTools.Contracts.Jetton import Jetton from TonTools.Providers.LsClient import LsClient usd_master = 'EQCxE6mUtQJKFnGfaROTKOt1lZbDiiX1kCixRv7Nw2Id_sDs' async def main(): client = LsClient(ls_index=0, default_timeout=30) await client.init_tonlib() jetton = Jetton(usd_master, provider=client) await jetton.update() print(jetton)...
Hi how can pass comment(meme) attribute in transfer_jetton_by_jetton_wallet?
``` Traceback (most recent call last): File "/gdfgsdg.py", line 25, in asyncio.run(main()) File "/usr/lib/python3.11/asyncio/runners.py", line 190, in run return runner.run(main) ^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/asyncio/runners.py", line 118, in run return self._loop.run_until_complete(task) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^...