List waterfall history
One entry per applied funding boundary; public, newest first.
GET
https://testnet.hardbasis.com/v1/usdhb/historybash
curl -fsS "$HB/v1/usdhb/history"python
import os
import requests
HB = os.environ.get("HB", "https://testnet.hardbasis.com")
resp = requests.get(
f"{HB}/v1/usdhb/history",
)
resp.raise_for_status()
print(resp.json())ts
const HB = process.env.HB ?? "https://testnet.hardbasis.com";
const res = await fetch(`${HB}/v1/usdhb/history`, {
method: "GET",
});
if (!res.ok) throw new Error(`${res.status} ${await res.text()}`);
console.log(await res.json());json
{
"waterfalls": [
{
"boundaryTsMs": "100000",
"markQ8": "100000",
"flowMsat": "100000",
"toReserveMsat": "100000",
"toStakersMsat": "100000",
"overflowMsat": "100000",
"shortfallMsat": "100000",
"markdown": "string",
"yieldMinted": "string",
"sharePriceQ9Before": "100000",
"sharePriceQ9After": "100000"
}
],
"nextBeforeTsMs": "100000"
}Query parameters
limitstringoptionalPage size, 1..200 (default 100).
beforeTsMsstringoptionalCursor: return sagas created strictly before this timestamp (ms, decimal). Omit for page one.
Responses
200 OKwaterfallsobject[]requiredShow 11 child fields
boundaryTsMsstringmsrequiredmarkQ8stringq8requiredflowMsatstringmsatrequiredtoReserveMsatstringmsatrequiredtoStakersMsatstringmsatrequiredoverflowMsatstringmsatrequiredshortfallMsatstringmsatrequiredmarkdownstringrequiredyieldMintedstringrequirednextBeforeTsMsstring | nullmsrequired