vaultisium
Reference

SDK, API, MCP

Every number on this site comes from three endpoints you can call yourself.

REST

GET /api/v1/tranches returns HLP's live equity and APR, the stack parameters and the contract addresses on Elysium.

GET /api/v1/tranches

loading…

Quotes

GET /api/v1/waterfall?move=-0.12 runs a one-off HLP move through a 75/20/5 stack and returns what each layer keeps.

GET /api/v1/waterfall?move=-0.12

loading…

MCP

POST /api/mcp speaks JSON-RPC 2.0 with two tools: tranche_quote (side and USDC amount, returns shares at the current value and the queue rule that applies) and waterfall (an HLP move, returns the split).

curl -s -X POST $SITE/api/mcp -H 'content-type: application/json' -d '{
  "jsonrpc": "2.0", "id": 1, "method": "tools/call",
  "params": { "name": "waterfall", "arguments": { "move": -0.08 } }
}'

TypeScript

const base = "https://<site>";
const t = await fetch(base + "/api/v1/tranches").then(r => r.json());
const q = await fetch(base + "/api/v1/waterfall?move=" + t.hlp.month).then(r => r.json());
console.log(t.hlp.equity, q.senior, q.junior);