Everything You Need to
[Build & Trade]

Guides, API references, smart contract documentation, and SDK examples. Everything you need to integrate with or trade on FXDX Exchange.

Start with [What You Need]

Getting Started

Connect your wallet, fund your account, and place your first trade in under 5 minutes.

Trading Guide

Learn perpetual futures, leverage, margin, liquidation, and advanced order types.

API Reference

REST API, WebSocket feeds, and SDK documentation for traders and developers.

Smart Contracts

Protocol architecture, contract addresses, ABIs, and security audit reports.

Liquidity & Earn

Provide liquidity, earn trading fees, and understand how the vault model works.

Governance & Token

FXDX tokenomics, governance voting, staking, and protocol improvement proposals.

Build with [Our API]

Our REST API and WebSocket feeds let you build trading bots, analytics dashboards, portfolio trackers, and integrations with ease.

  • TypeScript & Python SDKs
  • Real-time WebSocket price feeds
  • Full order management via REST
  • On-chain transaction signing
  • Sandbox testnet environment
fxdx-example.ts
import { FXDXClient } from '@fxdx/sdk';

// Initialize the client
const client = new FXDXClient({
  network: 'arbitrum',
  privateKey: process.env.PRIVATE_KEY,
});

// Get market price
const price = await client.markets.getPrice('ETH-PERP');
console.log(`ETH Price: $${price.mark}`);

// Open a long position
const order = await client.orders.openPosition({
  market:    'ETH-PERP',
  side:      'long',
  size:      '0.5',  // 0.5 ETH
  leverage:  10,
  orderType: 'market',
});

console.log('Order ID:', order.id);
// → Order ID: 0x4f8a…

[Ready]
to Start Building?

Join the waitlist for early API access and start building on FXDX Exchange before the public launch.

Browse Full Docs