Technical
Integration Guide
Build trading integrations with the FluxPerp SDK.
Use the SDK when you need signed trading operations, account reconciliation, and stream subscriptions from one client.
Install
npm install @fluxperp/sdkConnect
import { FluxClient } from "@fluxperp/sdk";
const client = new FluxClient({
network: "mainnet",
wallet,
});Recommended flow
- Fetch market metadata.
- Subscribe to account and fill streams.
- Submit signed order intents.
- Reconcile fills against positions and margin state.
Tip
For raw HTTP endpoints, see REST Endpoints.