Skip to content
Docs
Esc
↑↓navigate↵open⌘Jpreview
On this page

INVICTUS API

Generated from the zod schemas and the operation registry of @invictus/contracts. Token amounts are base units with the token decimals; prices, USD and percents are decimal text; a value carries its state (exact, stale, provisional, disputed, unavailable). Errors are RFC 9457 problem details.

Version 0.1.0

Market

Pools, tokens, quotes and chain status: the same answer for everyone, read from stored data.

Live

The live stream of pool and account changes, as a WebSocket.

Account

Sessions, the signed-in account, consents, step-ups, settings and handles.

Wallets

The account’s wallets, what they hold and what may spend from them.

Portfolio

Open positions and the results of the portfolio.

Rewards

Points, tiers, referrals, the leaderboard and claims.

Operations

Transactions in two phases: a review nothing signs, then one confirmation and the signed steps.

Alerts

Alert rules and the inbox their notifications land in.

Telegram

Messages the Telegram app pulls and acknowledges, for the app’s service credential on the internal listener.