Skip to content

Commit 8d8b2d9

Browse files
committed
QueryParams
1 parent 212ee6d commit 8d8b2d9

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/sentinel_sdk/modules/node.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,9 @@ def __init__(self, channel: grpc.Channel, node_timeout: int, account, client):
3636

3737
self.__nodes_status_cache = {}
3838

39+
def QueryParams(self) -> Any:
40+
return self.__stub.QueryParams(sentinel_node_v2_querier_pb2.QueryParamsRequest()).params
41+
3942
def QueryNode(self, address: str) -> Any:
4043
r = self.__stub.QueryNode(
4144
sentinel_node_v2_querier_pb2.QueryNodeRequest(address=address)

0 commit comments

Comments
 (0)