Skip to content

VistaPexThe start of a new dawn in perps trading.

Mint test USDC, log in, deposit, trade, withdraw. REST + on-chain, end-to-end.

VistaPex

What this guide is

A task-oriented walkthrough, not a reference manual. Every page is one user task with:

  1. Prereqs — what you need before you start.
  2. Numbered steps — copy-paste-able curl / cast commands.
  3. What success looks like — exact response shape so you know it worked.
  4. Common errors — what each rejection message means and how to fix it.

Read in order the first time; jump straight to a task once you're set up.

Beyond the basics

Once the 6 core flows above are working, two extras worth a look:

  • Conditional orders (TP/SL) — attach a take-profit and a stop-loss to any place in one call. The engine arms them on fill, fires them on price-cross, cancels the leftover.
  • Public market data — five no-auth endpoints for prices, orderbook depth, recent trades, and candles. Everything a market detail page needs.

Account & identity

For backend services, security audits, and multi-account setups:

  • Refresh & revoke sessions — extend a session, list active ones across devices, kill a compromised one (or all of them).
  • Long-lived API keys — mint scoped credentials for bots and analytics services. Restrict by permission, market, and order size.
  • Manage your profile — read your identity bundle, bind a wallet, set a default trading account.

Reference pages

For developers building on testnet today. Mainnet contract addresses will be added at launch.