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
16 lines
430 B
Python
16 lines
430 B
Python
from clients.rpc import RpcClient
|
|
from clients.services.service import Service
|
|
|
|
|
|
class AccountService(Service):
|
|
def __init__(self, client: RpcClient):
|
|
super().__init__(client, "accounts")
|
|
|
|
def get_accounts(self):
|
|
response = self.rpc_request("getAccounts")
|
|
return response.json()
|
|
|
|
def get_account_keypairs(self):
|
|
response = self.rpc_request("getKeypairs")
|
|
return response.json()
|