def getinfo(self): """ Returns an :class:`~bitcoinrpc.data.ServerInfo` object containing various state info. """ try: return ServerInfo(**self.proxy.getinfo()) except JSONRPCException, e: raise _wrap_exception(e.error)
def getinfo(self): """ Returns an :class:`~bitcoinrpc.data.ServerInfo` object containing various state info. """ return ServerInfo(**self.proxy.getinfo())