API
Read endpoints
Everything a ticket shows can be fetched as JSON. Big numbers are decimal strings. Base URL https://torrva.xyz.
GET /api/quote?t=NVDA&usd=1000Raw reads for one ticket at one block: the 24/5 (and 24/7) Chainlink rounds, ETH/USD, USDG/USD, gas price, the L1 part, and TorrvaQuoteLens.quoteLadder for every Uniswap v3 USDG pool of the token. Sizes: your amount first, then $100 / $1k / $10k. 20 per minute per network; cached 12 s.
GET /api/marketsThe stock tokens Torrva quotes, with token, feeds and pools. ?board=1 adds a $1,000 quote per token from the pool returning the most tokens (cached 60 s).
GET /api/dryrun?t=NVDA&usd=1000What stamp() would send (calldata) and what TorrvaTicketLog answers now (checkStamp reason bits, stamp() return value), from a placeholder sender. Nothing is sent.
GET /api/logEvery ticket stamped on TorrvaTicketLog (whole history from its events, unread block ranges reported), with reference rounds and attached swaps.
GET /api/proofChain id from the RPC, head block, contract addresses with code checks, event counts, markets block, commit and source repository.
GET /api/healthChain id and commit, short form of /api/proof.
GET /api/chainHead block, gas price, Chainlink ETH/USD (used by the live chips).
POST /api/rpcRead-only JSON-RPC relay for the site's own calls (allowlisted methods and targets, gas cap, budget per network). Never forwards a signed transaction.