List funding boundaries
The last 100 funding boundaries for a market; skew is quantized to the public grid (spec section E).
GET
https://testnet.hardbasis.com/v1/markets/{id}/fundingbash
curl -fsS "$HB/v1/markets/$ID/funding"python
import os
import requests
HB = os.environ.get("HB", "https://testnet.hardbasis.com")
ID = os.environ["ID"]
resp = requests.get(
f"{HB}/v1/markets/{ID}/funding",
)
resp.raise_for_status()
print(resp.json())ts
const HB = process.env.HB ?? "https://testnet.hardbasis.com";
const ID = process.env.ID!;
const res = await fetch(`${HB}/v1/markets/${ID}/funding`, {
method: "GET",
});
if (!res.ok) throw new Error(`${res.status} ${await res.text()}`);
console.log(await res.json());json
[
{
"tsMs": "100000",
"rateQ9": "100000",
"skewQ9": "100000"
}
]