Synthetix Docs
V2 User Docs
  • User Docs
  • Synthetix Exchange
  • Leveraged Tokens
  • For Developers
V2 User Docs
  • Synthetix Protocol
    • Welcome to Synthetix
    • The Synthetix Protocol
      • Synthetix Token (SNX)
      • The Role of Stakers
      • Oracles
      • Synthetix Litepaper
    • Synthetic Assets
      • Perpetual Futures
      • Spot Synths
  • Staking
    • Depositing to the 420 Pool
    • Current Protocol Parameters
    • Staking Guide (Nearing Deprecation)
      • Steps for Staking SNX (via Minting)
      • Steps for Unstaking SNX (via Burning)
      • Steps for Claiming Rewards
      • Automating Staking, Claiming, Burning, and Minting
        • Legacy Automated Minting & Claiming
      • Understanding the Collateralization Ratio
      • Understanding Debt, Minting, and Burning
      • Simplified Debt Hedging
      • Escrow and Vesting
      • Liquidations
    • Staking FAQ
    • Bridging sUSD
  • DAO
    • Governance Framework
      • Synthetix Improvement Proposals (SIPs)
      • Synthetix Configuration Change Proposal (SCCPs)
      • Spartan Council
      • Core Contributors
      • Staker
    • Elections and Voting
      • Voting with a Gnosis Safe
    • How to write SIP/SCCPs
  • V3
    • Synthetix v3
    • Build on v3
  • Synthetix Ecosystem
    • Built on Synthetix
      • Kwenta - Spot and Perps
      • Decentrex - Perps
      • Lyra - Options
      • Polynomial - Perps and Option Vaults
      • 1inch/Curve - Atomic Swaps
    • Community Infrastructure
    • Ecosystem Operations
  • integrations
    • Perps Integration Guide
      • Introduction
      • Optimistic Sepolia Testnet Tokens
      • Technical Integration
      • Perps Subgraph
      • General FAQ
      • Tracking Codes
      • Perps Keeper
      • Liquidations
      • Useful Links
      • Migration Guides
        • PerpsV2 Mintaka -> Almach
        • FuturesV1 -> PerpsV2 (Mintaka)
    • Contract Addresses
    • Releases
  • Terms of Use
  • Brand Assets
    • Design Resources
Powered by GitBook
On this page
  • Also see
  • PerpsV2MarketSettings
  • Trade, position and candle data
  • Detailed Perps dashboards
  1. integrations
  2. Perps Integration Guide

Useful Links

Links for integrators and developers

PreviousLiquidationsNextMigration Guides

Also see

PerpsV2MarketSettings

Markets on PerpsV2 are highly configurable. PerpsV2MarketSettings is another top-level contract used for the storage and retrieval of market specific (and system wide) parameters, segregated by marketKey.

It's always a good idea to query for parameter values rather than hardcoding it yourself. For example, fetching maxMarketValue then having your dapp automatically adapt to an increase of OI cap allows your integration to automatically benefit without needing to constantly monitor and update based on upstream changes.

Parameters range from small to impactful and can only be updated through passed . Below are some commonly queried parameters:

Parameter
Description

makerFeeDelayedOffchainOrder

Fee charged when order contracting skew

takerFeeDelayedOffchainOrder

Fee charged when expands skew

maxLeverage

Largest allowable size on an open position

maxMarketValue

Market OI cap on either short/long

minKeeperFee

Minimum fee in sUSD paid to keeper for liquidating or executing orders

For a complete list, refer to the Dune Dashboards below:

Trade, position and candle data

Detailed Perps dashboards

Community Infrastructure
SCCPs
SNX SettingsDuneAnalytics
PerpsV2MarketSettings Dune Analytics
Perps ImpactDuneAnalytics
Table view of Perps V2 settings and calculations
Perps SubgraphPerps Subgraph
Subgraph for analyzing trades, wallets and markets
Synthetix PerpsDuneAnalytics
Community dashboard for common metrics
Logo
Logo
Logo
Logo