removed unused imports, minor fixes

This commit is contained in:
smypmsa
2025-03-06 21:52:43 +00:00
parent fce547ec9e
commit ab186210fd
10 changed files with 18 additions and 36 deletions
+2 -3
View File
@@ -3,13 +3,12 @@ Solana client abstraction for blockchain operations.
"""
import asyncio
from typing import Any, Dict
from typing import Any
from solana.rpc.async_api import AsyncClient
from solana.rpc.commitment import Confirmed
from solana.rpc.types import TxOpts
from solders.hash import Hash
from solders.keypair import Keypair
from solders.pubkey import Pubkey
from solders.transaction import Transaction
@@ -46,7 +45,7 @@ class SolanaClient:
await self._client.close()
self._client = None
async def get_account_info(self, pubkey: Pubkey) -> Dict[str, Any]:
async def get_account_info(self, pubkey: Pubkey) -> dict[str, Any]:
"""Get account info from the blockchain.
Args:
-1
View File
@@ -6,7 +6,6 @@ import struct
from typing import Final
from construct import Flag, Int64ul, Struct
from solana.rpc.async_api import AsyncClient
from solders.pubkey import Pubkey
from src.core.client import SolanaClient