MCPcopy Create free account
hub / github.com/ElementsProject/lightning / midpoint

Function midpoint

tests/test_currencyrate.py:158–159  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

156
157 @app.get("/midpoint")
158 def midpoint():
159 return jsonify({"price": state["midpoint"]})
160
161 @app.get("/invalid")
162 def invalid():

Callers 1

get_medianFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected