diff --git a/lndgrpc/router.py b/lndgrpc/router.py index 480a88b..f9f8937 100644 --- a/lndgrpc/router.py +++ b/lndgrpc/router.py @@ -76,3 +76,21 @@ def update_chan_status(self, chan_point, action): ) response = self._router_stub.UpdateChanStatus(request) return response + + @handle_rpc_errors + def get_mission_control_config(self): + """ + GetMissionControlConfig + """ + request = router.GetMissionControlConfigRequest() + response = self._router_stub.GetMissionControlConfig(request) + return response + + @handle_rpc_errors + def query_mission_control(self): + """ + QueryMissionControl + """ + request = router.QueryMissionControlRequest() + response = self._router_stub.QueryMissionControl(request) + return response \ No newline at end of file diff --git a/lndgrpc/walletkit.py b/lndgrpc/walletkit.py index b48a6c9..0ad0258 100644 --- a/lndgrpc/walletkit.py +++ b/lndgrpc/walletkit.py @@ -44,6 +44,15 @@ def list_accounts(self, **kwargs): request = walletkit.ListAccountsRequest(**kwargs) response = self._walletkit_stub.ListAccounts(request) return response + + @handle_rpc_errors + def list_addresses(self, **kwargs): + """ + ListAddresses + """ + request = walletkit.ListAddressesRequest(**kwargs) + response = self._walletkit_stub.ListAddresses(request) + return response @handle_rpc_errors def list_unspent(self, min_confs=0,max_confs=100000, **kwargs):