Exitisium
Build / SDK, API, MCP
Build

SDK, API, MCP

Fillers and agents read the same terms the contracts check. The endpoint reads ExitGate on Elysium and TicketVault on HyperEVM.

REST

GET /api/v1/tickets?token=USDC&open=1
{
  "sandbox": false,
  "tickets": [
    { "exitId": 3, "token": "USDC", "amount": "2500", "termsHash": "0x…",
      "discountBps": 8.4, "maturesIn": 63725, "filled": false }
  ]
}

Quote in code

import { createPublicClient, http, parseAbi } from "viem";

const vault = { address: TICKET_VAULT, abi: parseAbi([
  "function quote((uint256,address,uint256,address,uint16,uint32,uint64,uint64)) view returns (uint256 price, uint256 discountBps)",
]) };
const [price, bps] = await client.readContract({ ...vault, functionName: "quote", args: [terms] });

MCP tools

ToolReturns
open_ticketsopen exits with terms, current discount and time to maturity
exit_quotethe fill price for one exit id now, and in N seconds

To rehearse before risking funds, run the same contracts on a local fork of HyperEVM and Elysium: fill, transfer and redeem behave exactly as on chain.