dragonchain/lib/dto/bnb.py
def ping(self) -> None:
        """Ping this network to check if the given node is reachable and authorization is correct (raises exception if not)"""
        response_rpc = self._call_node_rpc("status", {}).json()
        response_api = self._call_node_api("tokens/BNB").json()
        if response_rpc.get("error") or response_api.get("error"):
            raise exceptions.InterchainConnectionError(f"[BINANCE] Node ping checks failed!")
Ping this network to check if the given node is reachable and authorization is correct (raises exception if not)
Ping this network to check if the given node is reachable and authorization is correct (raises exception if not)
Ping this network to check if the given node is reachable and authorization is correct ( raises exception if not )
def ping(self) -> None:
        response_rpc = self._call_node_rpc("status", {}).json()
        response_api = self._call_node_api("tokens/BNB").json()
        if response_rpc.get("error") or response_api.get("error"):
            raise exceptions.InterchainConnectionError(f"[BINANCE] Node ping checks failed!")
def ping ( self ) -> None : response_rpc = self . _call_node_rpc ( "status" , { } ) . json ( ) response_api = self . _call_node_api ( "tokens/BNB" ) . json ( ) if response_rpc . get ( "error" ) or response_api . get ( "error" ) : raise exceptions . InterchainConnectionError ( f"[BINANCE] Node ping checks failed!" )
Ping this network to check if the given node is reachable and authorization is correct (raises exception if not)
Ping this network to check if the given node is reachable and authorization is correct ( raises exception if not )
"""Ping this network to check if the given node is reachable and authorization is correct (raises exception if not)"""
self