async def METHOD_NAME(self) -> StatusResponse:
    try:
        funds: dict = self.ln.listfunds()  # type: ignore
        return StatusResponse(
            None, sum([int(ch["our_amount_msat"]) for ch in funds["channels"]])
        )
    except RpcError as exc:
        error_message = f"lightningd '{exc.method}' failed with '{exc.error}'."
        return StatusResponse(error_message, 0)