pytonapi 0.4.2__tar.gz → 0.4.3__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {pytonapi-0.4.2 → pytonapi-0.4.3}/PKG-INFO +1 -1
- {pytonapi-0.4.2 → pytonapi-0.4.3}/pytonapi/async_tonapi/methods/accounts.py +4 -1
- {pytonapi-0.4.2 → pytonapi-0.4.3}/pytonapi/tonapi/methods/accounts.py +4 -1
- {pytonapi-0.4.2 → pytonapi-0.4.3}/pytonapi.egg-info/PKG-INFO +1 -1
- {pytonapi-0.4.2 → pytonapi-0.4.3}/setup.py +1 -1
- {pytonapi-0.4.2 → pytonapi-0.4.3}/LICENSE +0 -0
- {pytonapi-0.4.2 → pytonapi-0.4.3}/README.md +0 -0
- {pytonapi-0.4.2 → pytonapi-0.4.3}/pytonapi/__init__.py +0 -0
- {pytonapi-0.4.2 → pytonapi-0.4.3}/pytonapi/async_tonapi/__init__.py +0 -0
- {pytonapi-0.4.2 → pytonapi-0.4.3}/pytonapi/async_tonapi/client.py +0 -0
- {pytonapi-0.4.2 → pytonapi-0.4.3}/pytonapi/async_tonapi/methods/__init__.py +0 -0
- {pytonapi-0.4.2 → pytonapi-0.4.3}/pytonapi/async_tonapi/methods/blockchain.py +0 -0
- {pytonapi-0.4.2 → pytonapi-0.4.3}/pytonapi/async_tonapi/methods/dns.py +0 -0
- {pytonapi-0.4.2 → pytonapi-0.4.3}/pytonapi/async_tonapi/methods/emulate.py +0 -0
- {pytonapi-0.4.2 → pytonapi-0.4.3}/pytonapi/async_tonapi/methods/events.py +0 -0
- {pytonapi-0.4.2 → pytonapi-0.4.3}/pytonapi/async_tonapi/methods/gasless.py +0 -0
- {pytonapi-0.4.2 → pytonapi-0.4.3}/pytonapi/async_tonapi/methods/inscriptions.py +0 -0
- {pytonapi-0.4.2 → pytonapi-0.4.3}/pytonapi/async_tonapi/methods/jettons.py +0 -0
- {pytonapi-0.4.2 → pytonapi-0.4.3}/pytonapi/async_tonapi/methods/liteserver.py +0 -0
- {pytonapi-0.4.2 → pytonapi-0.4.3}/pytonapi/async_tonapi/methods/multisig.py +0 -0
- {pytonapi-0.4.2 → pytonapi-0.4.3}/pytonapi/async_tonapi/methods/nft.py +0 -0
- {pytonapi-0.4.2 → pytonapi-0.4.3}/pytonapi/async_tonapi/methods/rates.py +0 -0
- {pytonapi-0.4.2 → pytonapi-0.4.3}/pytonapi/async_tonapi/methods/sse.py +0 -0
- {pytonapi-0.4.2 → pytonapi-0.4.3}/pytonapi/async_tonapi/methods/staking.py +0 -0
- {pytonapi-0.4.2 → pytonapi-0.4.3}/pytonapi/async_tonapi/methods/storage.py +0 -0
- {pytonapi-0.4.2 → pytonapi-0.4.3}/pytonapi/async_tonapi/methods/tonconnect.py +0 -0
- {pytonapi-0.4.2 → pytonapi-0.4.3}/pytonapi/async_tonapi/methods/traces.py +0 -0
- {pytonapi-0.4.2 → pytonapi-0.4.3}/pytonapi/async_tonapi/methods/utilites.py +0 -0
- {pytonapi-0.4.2 → pytonapi-0.4.3}/pytonapi/async_tonapi/methods/wallet.py +0 -0
- {pytonapi-0.4.2 → pytonapi-0.4.3}/pytonapi/async_tonapi/methods/webhooks.py +0 -0
- {pytonapi-0.4.2 → pytonapi-0.4.3}/pytonapi/async_tonapi/methods/websocket.py +0 -0
- {pytonapi-0.4.2 → pytonapi-0.4.3}/pytonapi/exceptions.py +0 -0
- {pytonapi-0.4.2 → pytonapi-0.4.3}/pytonapi/logger_config.py +0 -0
- {pytonapi-0.4.2 → pytonapi-0.4.3}/pytonapi/py.typed +0 -0
- {pytonapi-0.4.2 → pytonapi-0.4.3}/pytonapi/schema/__init__.py +0 -0
- {pytonapi-0.4.2 → pytonapi-0.4.3}/pytonapi/schema/_address.py +0 -0
- {pytonapi-0.4.2 → pytonapi-0.4.3}/pytonapi/schema/_balance.py +0 -0
- {pytonapi-0.4.2 → pytonapi-0.4.3}/pytonapi/schema/accounts.py +0 -0
- {pytonapi-0.4.2 → pytonapi-0.4.3}/pytonapi/schema/blockchain.py +0 -0
- {pytonapi-0.4.2 → pytonapi-0.4.3}/pytonapi/schema/dns.py +0 -0
- {pytonapi-0.4.2 → pytonapi-0.4.3}/pytonapi/schema/domains.py +0 -0
- {pytonapi-0.4.2 → pytonapi-0.4.3}/pytonapi/schema/events.py +0 -0
- {pytonapi-0.4.2 → pytonapi-0.4.3}/pytonapi/schema/gasless.py +0 -0
- {pytonapi-0.4.2 → pytonapi-0.4.3}/pytonapi/schema/inscriptions.py +0 -0
- {pytonapi-0.4.2 → pytonapi-0.4.3}/pytonapi/schema/jettons.py +0 -0
- {pytonapi-0.4.2 → pytonapi-0.4.3}/pytonapi/schema/liteserver.py +0 -0
- {pytonapi-0.4.2 → pytonapi-0.4.3}/pytonapi/schema/multisig.py +0 -0
- {pytonapi-0.4.2 → pytonapi-0.4.3}/pytonapi/schema/nft.py +0 -0
- {pytonapi-0.4.2 → pytonapi-0.4.3}/pytonapi/schema/rates.py +0 -0
- {pytonapi-0.4.2 → pytonapi-0.4.3}/pytonapi/schema/staking.py +0 -0
- {pytonapi-0.4.2 → pytonapi-0.4.3}/pytonapi/schema/storage.py +0 -0
- {pytonapi-0.4.2 → pytonapi-0.4.3}/pytonapi/schema/tonconnect.py +0 -0
- {pytonapi-0.4.2 → pytonapi-0.4.3}/pytonapi/schema/traces.py +0 -0
- {pytonapi-0.4.2 → pytonapi-0.4.3}/pytonapi/schema/utilites.py +0 -0
- {pytonapi-0.4.2 → pytonapi-0.4.3}/pytonapi/schema/webhooks.py +0 -0
- {pytonapi-0.4.2 → pytonapi-0.4.3}/pytonapi/tonapi/__init__.py +0 -0
- {pytonapi-0.4.2 → pytonapi-0.4.3}/pytonapi/tonapi/client.py +0 -0
- {pytonapi-0.4.2 → pytonapi-0.4.3}/pytonapi/tonapi/methods/__init__.py +0 -0
- {pytonapi-0.4.2 → pytonapi-0.4.3}/pytonapi/tonapi/methods/blockchain.py +0 -0
- {pytonapi-0.4.2 → pytonapi-0.4.3}/pytonapi/tonapi/methods/dns.py +0 -0
- {pytonapi-0.4.2 → pytonapi-0.4.3}/pytonapi/tonapi/methods/emulate.py +0 -0
- {pytonapi-0.4.2 → pytonapi-0.4.3}/pytonapi/tonapi/methods/events.py +0 -0
- {pytonapi-0.4.2 → pytonapi-0.4.3}/pytonapi/tonapi/methods/gasless.py +0 -0
- {pytonapi-0.4.2 → pytonapi-0.4.3}/pytonapi/tonapi/methods/inscriptions.py +0 -0
- {pytonapi-0.4.2 → pytonapi-0.4.3}/pytonapi/tonapi/methods/jettons.py +0 -0
- {pytonapi-0.4.2 → pytonapi-0.4.3}/pytonapi/tonapi/methods/liteserver.py +0 -0
- {pytonapi-0.4.2 → pytonapi-0.4.3}/pytonapi/tonapi/methods/multisig.py +0 -0
- {pytonapi-0.4.2 → pytonapi-0.4.3}/pytonapi/tonapi/methods/nft.py +0 -0
- {pytonapi-0.4.2 → pytonapi-0.4.3}/pytonapi/tonapi/methods/rates.py +0 -0
- {pytonapi-0.4.2 → pytonapi-0.4.3}/pytonapi/tonapi/methods/sse.py +0 -0
- {pytonapi-0.4.2 → pytonapi-0.4.3}/pytonapi/tonapi/methods/staking.py +0 -0
- {pytonapi-0.4.2 → pytonapi-0.4.3}/pytonapi/tonapi/methods/storage.py +0 -0
- {pytonapi-0.4.2 → pytonapi-0.4.3}/pytonapi/tonapi/methods/tonconnect.py +0 -0
- {pytonapi-0.4.2 → pytonapi-0.4.3}/pytonapi/tonapi/methods/traces.py +0 -0
- {pytonapi-0.4.2 → pytonapi-0.4.3}/pytonapi/tonapi/methods/utilites.py +0 -0
- {pytonapi-0.4.2 → pytonapi-0.4.3}/pytonapi/tonapi/methods/wallet.py +0 -0
- {pytonapi-0.4.2 → pytonapi-0.4.3}/pytonapi/tonapi/methods/webhooks.py +0 -0
- {pytonapi-0.4.2 → pytonapi-0.4.3}/pytonapi/utils.py +0 -0
- {pytonapi-0.4.2 → pytonapi-0.4.3}/pytonapi.egg-info/SOURCES.txt +0 -0
- {pytonapi-0.4.2 → pytonapi-0.4.3}/pytonapi.egg-info/dependency_links.txt +0 -0
- {pytonapi-0.4.2 → pytonapi-0.4.3}/pytonapi.egg-info/requires.txt +0 -0
- {pytonapi-0.4.2 → pytonapi-0.4.3}/pytonapi.egg-info/top_level.txt +0 -0
- {pytonapi-0.4.2 → pytonapi-0.4.3}/setup.cfg +0 -0
- {pytonapi-0.4.2 → pytonapi-0.4.3}/tests/async_tonapi/__init__.py +0 -0
- {pytonapi-0.4.2 → pytonapi-0.4.3}/tests/async_tonapi/test_accounts_methods.py +0 -0
- {pytonapi-0.4.2 → pytonapi-0.4.3}/tests/async_tonapi/test_blockchain_methods.py +0 -0
- {pytonapi-0.4.2 → pytonapi-0.4.3}/tests/async_tonapi/test_dns_methods.py +0 -0
- {pytonapi-0.4.2 → pytonapi-0.4.3}/tests/async_tonapi/test_events_methods.py +0 -0
- {pytonapi-0.4.2 → pytonapi-0.4.3}/tests/async_tonapi/test_inscriptions_methods.py +0 -0
- {pytonapi-0.4.2 → pytonapi-0.4.3}/tests/async_tonapi/test_jettons_methods.py +0 -0
- {pytonapi-0.4.2 → pytonapi-0.4.3}/tests/async_tonapi/test_liteserver_methods.py +0 -0
- {pytonapi-0.4.2 → pytonapi-0.4.3}/tests/async_tonapi/test_nft_methods.py +0 -0
- {pytonapi-0.4.2 → pytonapi-0.4.3}/tests/async_tonapi/test_rates_methods.py +0 -0
- {pytonapi-0.4.2 → pytonapi-0.4.3}/tests/async_tonapi/test_sse_methods.py +0 -0
- {pytonapi-0.4.2 → pytonapi-0.4.3}/tests/async_tonapi/test_staking_methods.py +0 -0
- {pytonapi-0.4.2 → pytonapi-0.4.3}/tests/async_tonapi/test_storage_methods.py +0 -0
- {pytonapi-0.4.2 → pytonapi-0.4.3}/tests/async_tonapi/test_tonconnect_methods.py +0 -0
- {pytonapi-0.4.2 → pytonapi-0.4.3}/tests/async_tonapi/test_traces_methods.py +0 -0
- {pytonapi-0.4.2 → pytonapi-0.4.3}/tests/async_tonapi/test_utilities_methods.py +0 -0
- {pytonapi-0.4.2 → pytonapi-0.4.3}/tests/async_tonapi/test_websocket_methods.py +0 -0
- {pytonapi-0.4.2 → pytonapi-0.4.3}/tests/tonapi/__init__.py +0 -0
- {pytonapi-0.4.2 → pytonapi-0.4.3}/tests/tonapi/test_accounts_methods.py +0 -0
- {pytonapi-0.4.2 → pytonapi-0.4.3}/tests/tonapi/test_blockchain_methods.py +0 -0
- {pytonapi-0.4.2 → pytonapi-0.4.3}/tests/tonapi/test_dns_methods.py +0 -0
- {pytonapi-0.4.2 → pytonapi-0.4.3}/tests/tonapi/test_events_methods.py +0 -0
- {pytonapi-0.4.2 → pytonapi-0.4.3}/tests/tonapi/test_inscriptions_methods.py +0 -0
- {pytonapi-0.4.2 → pytonapi-0.4.3}/tests/tonapi/test_jettons_methods.py +0 -0
- {pytonapi-0.4.2 → pytonapi-0.4.3}/tests/tonapi/test_liteserver_methods.py +0 -0
- {pytonapi-0.4.2 → pytonapi-0.4.3}/tests/tonapi/test_nft_methods.py +0 -0
- {pytonapi-0.4.2 → pytonapi-0.4.3}/tests/tonapi/test_rates_methods.py +0 -0
- {pytonapi-0.4.2 → pytonapi-0.4.3}/tests/tonapi/test_sse_methods.py +0 -0
- {pytonapi-0.4.2 → pytonapi-0.4.3}/tests/tonapi/test_staking_methods.py +0 -0
- {pytonapi-0.4.2 → pytonapi-0.4.3}/tests/tonapi/test_storage_methods.py +0 -0
- {pytonapi-0.4.2 → pytonapi-0.4.3}/tests/tonapi/test_tonconnect_methods.py +0 -0
- {pytonapi-0.4.2 → pytonapi-0.4.3}/tests/tonapi/test_traces_methods.py +0 -0
- {pytonapi-0.4.2 → pytonapi-0.4.3}/tests/tonapi/test_utilities_methods.py +0 -0
|
@@ -306,16 +306,19 @@ class AccountsMethod(AsyncTonapiClientBase):
|
|
|
306
306
|
|
|
307
307
|
return AccountEvent(**response)
|
|
308
308
|
|
|
309
|
-
async def get_traces(self, account_id: str, limit: int = 100) -> TraceIds:
|
|
309
|
+
async def get_traces(self, account_id: str, limit: int = 100, before_lt: Optional[int] = None) -> TraceIds:
|
|
310
310
|
"""
|
|
311
311
|
Get traces for account.
|
|
312
312
|
|
|
313
313
|
:param account_id: account ID
|
|
314
314
|
:param limit: Default value: 100
|
|
315
|
+
:param before_lt: omit this parameter to get last events
|
|
315
316
|
:return: :class:`TraceIds`
|
|
316
317
|
"""
|
|
317
318
|
method = f"v2/accounts/{account_id}/traces"
|
|
318
319
|
params = {"limit": limit}
|
|
320
|
+
if before_lt is not None:
|
|
321
|
+
params["before_lt"] = before_lt
|
|
319
322
|
response = await self._get(method=method, params=params)
|
|
320
323
|
|
|
321
324
|
return TraceIds(**response)
|
|
@@ -306,16 +306,19 @@ class AccountsMethod(TonapiClientBase):
|
|
|
306
306
|
|
|
307
307
|
return AccountEvent(**response)
|
|
308
308
|
|
|
309
|
-
def get_traces(self, account_id: str, limit: int = 100) -> TraceIds:
|
|
309
|
+
def get_traces(self, account_id: str, limit: int = 100, before_lt: Optional[int] = None) -> TraceIds:
|
|
310
310
|
"""
|
|
311
311
|
Get traces for account.
|
|
312
312
|
|
|
313
313
|
:param account_id: account ID
|
|
314
314
|
:param limit: Default value: 100
|
|
315
|
+
:param before_lt: omit this parameter to get last events
|
|
315
316
|
:return: :class:`TraceIds`
|
|
316
317
|
"""
|
|
317
318
|
method = f"v2/accounts/{account_id}/traces"
|
|
318
319
|
params = {"limit": limit}
|
|
320
|
+
if before_lt is not None:
|
|
321
|
+
params["before_lt"] = before_lt
|
|
319
322
|
response = self._get(method=method, params=params)
|
|
320
323
|
|
|
321
324
|
return TraceIds(**response)
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|