mirror of
https://github.com/bohd4nx/FragmentAPI.git
synced 2026-07-25 06:14:29 +00:00
16 lines
389 B
Python
16 lines
389 B
Python
from __future__ import annotations
|
|
|
|
from typing import TYPE_CHECKING
|
|
|
|
from pyfragment.domains.base import BaseService
|
|
from pyfragment.domains.tonapi.account import get_wallet_info
|
|
from pyfragment.models.wallet import WalletInfo
|
|
|
|
if TYPE_CHECKING:
|
|
pass
|
|
|
|
|
|
class TonapiService(BaseService):
|
|
async def get_wallet(self) -> WalletInfo:
|
|
return await get_wallet_info(self._client)
|