Skip to Content
VPerpDocs

Overview

Architecture, trading mechanics, VIP schedules, account security, and programmatic APIs for VPerp and VCore.

Execution Layer
VCore Native L1
On-chain CLOB · Zero trading gas
Block Priority
5-Class Ordering
System → Cancel → Margin → ALO → Taker
API Compatibility
REST + WebSocket
1,200 Read / 2,400 Write IP weight/min

VPerp is an on-chain perpetual futures and spot trading platform powered by VCore—a purpose-built Layer 1 blockchain where the order book, matching engine, margin system, hourly funding, liquidations, and settlement execute deterministically inside consensus.

Every confirmed order, fill, fee, funding tick, and liquidation produces an auditable, independently replayable state transition—eliminating opaque off-chain matching engines while delivering exchange-grade throughput and zero gas fees for trading.

01 · FUND
Deposit Native USDC

Bridge official Circle USDC from Base or Arbitrum One into your VPerp account.

02 · ORDER
Sign & Submit

Sign via EIP-712 (MetaMask / API Agent) or post-quantum ML-DSA-44 with zero trading gas.

03 · MATCH
Deterministic CLOB

VCore orders blocks Cancel-First, matches FIFO on-chain, and settles balances atomically.

04 · VERIFY
Replay & Audit

Verify state roots, finality certificates, and fills via /info, WebSocket, or archive replay.


Documentation Map

Choose the section that matches what you are building or trading:

AudienceRecommended Reading PathKey Topics
New Traders & DevelopersQuickstart Guide → Order Types → Errors & Order Statuses5-minute onboarding, curl / TypeScript / Python starter snippets, production checklist, rejection troubleshooting
Core Protocol & SecurityConsensus & Finality → Execution Engine → Matching & PricingDAG BFT consensus, finality certificates, Post-Quantum defense-in-depth, 5-class ordering, Oracle & Mark Price, STP
Active TradersOrder Types → Funding & Margin → Fees & VIPGTC/IOC/ALO, Reduce-Only (200 cap), Mark TP/SL, TWAP, cross/isolated/unified margin, tiered MM, hourly funding
Institutions & Market MakersAccounts & Security → Fees & VIP → Rate Limits & QuotasSub-accounts (up to 10), scoped API agents (up to 50), MM 1–3 rebates (up to -0.3 bps), MassQuote, Plan B address budgets
Liquidity & Bridge UsersBridge & Protocol VaultBase & Arbitrum USDC bridge caps, dispute windows, 7d/30d MMV vault queues, 2× VIP NAV boost
API DevelopersAsset IDs & Conventions → Authentication & Signing → Info / Exchange / WebSocketSchema, EIP-712 & ml-dsa-44 signing, 100-nonce window, Read/Write IP limits, per-block L2 deltas, WS post RPC

Core API Interfaces

VPerp exposes three primary programmatic interfaces across hot API nodes (30-day rolling history) and archive nodes:

InterfaceMethod & PathPurpose
InfoPOST /infoPublic read-only market data, L2 order books, candles, funding history, account positions, fills, VIP fees, and vault states
ExchangePOST /exchangeSigned state-changing actions: placing/cancelling/modifying orders, mass quotes, leverage, TWAPs, transfers, agents, and withdrawals
WebSocketGET /wsLow-latency public market streams, real-time user order/fill events, and bidirectional WebSocket post RPC

Hyperliquid-Compatible API Schema

VPerp’s REST and WebSocket payloads follow the Hyperliquid JSON schema so existing trading bots and market-making stacks integrate cleanly. The critical difference is the signing domain: VPerp signs under domain name: "vperp", version: "1", and uses vperpChain (instead of hyperliquidChain) for user-signed actions. See Authentication & Signing.

Request Basics & Read-After-Write Consistency

  • Content-Type: All REST calls use POST with Content-Type: application/json and a type discriminator field (POST /info max body 64 KiB; POST /exchange max body 1 MiB).
  • Decimal Strings: Prices (p / px), sizes (s / sz), and USD amounts are encoded as decimal strings without insignificant trailing zeros (e.g., "98420.5", "0.25").
  • Timestamps: All timestamps are Unix epoch milliseconds (e.g., 1700000000000).
  • Response Headers: Every POST /info and POST /exchange response returns x-vcore-height (the committed block height served by the node). POST /exchange also returns x-vcore-tx-hash, and withdraw3 includes x-vcore-withdrawal-id.
  • Read-After-Write (minHeight): Pass "minHeight" in any POST /info request to guarantee your read reflects a transaction you just confirmed. The node waits up to 500 ms until its local state reaches that height before answering:
{
  "type": "clearinghouseState",
  "user": "0x0000000000000000000000000000000000000000",
  "minHeight": 2418553
}
  • Historical Retention: Hot API nodes keep 30 days of rolling history. Queries spanning older timestamps return HTTP 307 Temporary Redirect pointing to an archive node.

On this page