SDK and MCP

Download fixium.ts

SDK

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.

ToolReturns
marketsBoth maturities: addresses, implied rate, pool reserves, index
implied_rateImplied yearly rate of a maturity, and Pendle's HyperEVM rate beside it
quote_fixedHYPE of kHYPE at maturity for an amount of kHYPE
quote_yieldYT for an amount of kHYPE
calldataAn 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.