SDK and MCP
Download fixium.tsSDK
One TypeScript file on top of viem, with every address and these actions: quoteFixed, quoteYield, impliedRate, ptTwapRate, buyFixed, buyYield, roll and claim.
import { createPublicClient, http, parseEther } from "viem";
import { elysium, MARKETS, quoteFixed, impliedRate } from "./fixium";
const pub = createPublicClient({ chain: elysium, transport: http() });
const m = MARKETS[0]; // 25 March 2027
const pt = await quoteFixed(pub, m.market, parseEther("10"));
console.log(`10 kHYPE fixed pays ${Number(pt) / 1e18} HYPE of kHYPE on 25 March 2027`);
console.log("implied", await impliedRate(pub, m.market));MCP
A keyless Model Context Protocol server for agents. Endpoint: /api/mcp (streamable HTTP, JSON-RPC 2.0). It reads the chain and builds calldata; it never holds a key or signs.
| Tool | Returns |
|---|---|
markets | Both maturities: addresses, implied rate, pool reserves, index |
implied_rate | Implied yearly rate of a maturity, and Pendle's HyperEVM rate beside it |
quote_fixed | HYPE of kHYPE at maturity for an amount of kHYPE |
quote_yield | YT for an amount of kHYPE |
calldata | An unsigned transaction (to, data) for buy_fixed, buy_yield, split or roll |
{
"mcpServers": {
"fixium": { "type": "http", "url": "https://<this site>/api/mcp" }
}
}A plain summary for models is at /llms.txt. The full reference is in the docs.
Foundry
The repository's fork tests deploy or attach to the live contracts on an Elysium fork; see Fork tests.