mirror of
https://github.com/status-im/status-go.git
synced 2025-01-24 05:31:36 +00:00
810468a57f
* test_: create private group tests * test_: set privileged False for jenkins * test_: run baseline tests in rpc suite * test_: address review comments * test_: address review comments
15 lines
466 B
Python
15 lines
466 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)
|
|
|
|
def start_wallet(self):
|
|
return self.rpc_request("startWallet")
|