mirror of
https://github.com/status-im/status-go.git
synced 2025-01-09 14:16:21 +00:00
12 lines
390 B
Python
12 lines
390 B
Python
from clients.rpc import RpcClient
|
|
from clients.services.service import Service
|
|
|
|
|
|
class WalletService(Service):
|
|
def __init__(self, client: RpcClient):
|
|
super().__init__(client, "wallet")
|
|
|
|
def get_balances_at_by_chain(self, chains: list, addresses: list, tokens: list):
|
|
params = [chains, addresses, tokens]
|
|
return self.rpc_request("getBalancesByChain", params)
|