S
S
Synthetix Docs
V2x
Search
⌃K

Useful Links

Links for integrators and developers

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 SCCPs. 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 Dashboard below:
SNX Settings
DuneAnalytics
PerpsV2MarketSettings Dune Analytics

Trade, position and candle data

Perps Subgraph
Perps Subgraph
Subgraph for analyzing trades, wallets and markets

Detailed Perps dashboards

Synthetix Perps
DuneAnalytics
Community dashboard for common metrics