Sunlit strategy table with pale stone, greenery, and a calm abstract digital asset risk dashboard.
Protocols

Funding Rate Dynamics and Calculation

Detailed breakdown of how funding rates are calculated, applied, and settled in Synthetix perpetual futures markets. Traders, risk teams, and integrators must understand this mechanism to predict costs, monitor market stress, and build accurate settlement systems.
introduction
FUNDING RATE MECHANICS

Understanding Synthetix Perps Funding

How funding rates are computed, applied, and settled in Synthetix perpetual futures markets, and why the mechanism is critical for market integrity and risk management.

Synthetix perpetual futures (perps) use a funding rate mechanism to tether the mark price of a perpetual contract to its underlying spot index. Unlike traditional futures with expiry, perps have no settlement date, so a periodic payment is exchanged between long and short position holders. The direction and magnitude of this payment are determined by the premium or discount of the perps market price relative to the spot price. When the perps market trades at a premium, longs pay shorts; when at a discount, shorts pay longs. This creates an arbitrage incentive that pulls the market price back toward the index, ensuring the synthetic asset does not drift permanently from its reference value.

The funding rate calculation in Synthetix V3 perps is derived from a combination of a premium component and an interest rate component. The premium is computed from the deviation between the market's fill price and the index price over a rolling window, often using a clamped or capped formula to prevent manipulation during low-liquidity periods. The interest rate component accounts for the cost of capital and can be configured per market. The final funding rate is applied pro-rata over a funding interval (e.g., every hour). Positions are settled atomically: funding payments are debited or credited directly to a trader's margin when their position is modified or when funding is explicitly sequenced. This continuous settlement model means a trader's unrealized PnL always reflects accrued funding, a critical detail for integrators building portfolio dashboards or liquidation calculators.

For risk teams and protocol operators, the funding rate is a primary signal of market stress and positioning skew. A persistently high funding rate indicates extreme long demand and potential for cascading liquidations if the trend reverses. Monitoring the velocity of funding rate changes, the total open interest on each side, and the utilization of the debt pool is essential for assessing system solvency. Integrators, such as exchanges and institutional gateways, must accurately replicate the funding calculation off-chain to display correct cost-of-carry to users and to pre-calculate settlement amounts for their own internal risk checks. A mismatch in funding calculation between an integrator and the on-chain contract can lead to incorrect margin estimates and unexpected liquidations.

Chainscore Labs helps teams audit their funding rate calculation logic, build real-time monitoring dashboards for funding velocity and skew, and stress-test the impact of extreme funding scenarios on protocol solvency and liquidation engines. For a detailed review of your integration's funding settlement pipeline or to design a custom alerting system for funding anomalies, contact Chainscore Labs.

SYNTHETIX PERPS FUNDING RATE

Funding Rate Quick Facts

Key facts about how funding rates are calculated, applied, and settled in Synthetix perpetual futures markets. Use this table to understand the mechanism's core components and operational impact.

FieldValueWhy it matters

Rate calculation

Proportional to the skew between long and short open interest

Determines the cost of holding a position; a large skew leads to a higher funding rate to incentivize balance

Application frequency

Applied continuously per block

Funding accrues in real-time, affecting position PnL with every block rather than at discrete intervals

Payment direction

The overweight side pays the underweight side

Traders must monitor market skew to predict whether they will pay or receive funding

Settlement mechanism

Settled directly against position margin

Unrealized funding payments impact available margin and can trigger liquidations if not managed

Premium/discount component

Derived from the difference between the perps market price and the oracle spot price

A persistent premium or discount adds a second force to the funding rate, accelerating balance

Rate caps

Governed by a configurable maximum funding rate parameter

Prevents runaway costs during extreme market skew, protecting positions from excessive drain

Parameter governance

Spartan Council via SCCP

Maximum funding rate and skew scale parameters can be changed by governance, altering market dynamics

Integration dependency

Accurate funding rate indexing is required for PnL display and settlement

Exchanges, wallets, and data providers must index funding rate events correctly to avoid misreporting user balances

technical-context
PERPETUAL FUTURES MARKET MECHANICS

Funding Rate Calculation and Skew Dynamics

How Synthetix calculates and applies funding rates to balance open interest and anchor perpetual futures prices to spot markets.

Synthetix perpetual futures markets use a funding rate mechanism to tether the mark price of a perpetual contract to its underlying spot price. The funding rate is a periodic payment exchanged between long and short position holders, calculated as a function of the market's skew—the difference between the total open interest on the long side and the short side. When the market is skewed long, longs pay shorts, creating a cost that incentivizes traders to close long positions or open new shorts, thereby pushing the market price back toward the spot index. This mechanism is fundamental to the economic security of the perps engine, as a persistent, uncorrected skew exposes the shared debt pool to directional risk.

The funding rate is derived from a fundingVelocity parameter and the proportional skew. The proportional skew is calculated as (long OI - short OI) / total OI. This value is multiplied by the fundingVelocity to produce an instantaneous funding rate, which is then accrued continuously and settled on a fixed interval—typically every block or every hour depending on the market's configuration. The fundingVelocity is a governance-set parameter that controls how aggressively the system responds to skew; a higher velocity means a larger funding payment for the same level of imbalance. Risk teams must monitor the interaction between fundingVelocity and skewScale (which normalizes the skew) to understand the economic pressure applied to traders at various levels of market imbalance.

For integrators and exchange teams, accurate funding rate calculation is critical for settlement, PnL tracking, and user display. The funding rate is not a simple fixed percentage but a dynamic value that changes with every trade that alters the market's open interest composition. Indexers and portfolio trackers must query the on-chain funding rate and funding velocity parameters directly from the Synthetix core contracts, rather than relying on off-chain approximations. A failure to correctly account for the continuous accrual and periodic settlement of funding can lead to material discrepancies in displayed positions and realized PnL. Chainscore Labs can perform an independent review of a team's funding rate integration to verify alignment with on-chain settlement logic and prevent costly accounting errors.

ACTORS AND IMPACT

Who Is Affected

Impact on Open Positions

Funding rate dynamics directly affect the cost of maintaining open perps positions. Traders must model funding payments as a continuous cost or rebate that compounds over time.

Key considerations:

  • Long positions pay funding when the rate is positive (perp price > index price); short positions receive it.
  • The reverse applies when the rate is negative.
  • Funding is typically applied periodically (e.g., hourly), not continuously, creating discrete settlement events.

Traders should monitor the predicted funding rate before entering sizeable positions. A high positive rate can erode long-side profits even if the spot price moves favorably. Conversely, a persistently negative rate can signal bearish sentiment and provide a carry yield for long positions.

Action: Integrate funding rate predictions into position-sizing models and backtest strategies against historical funding rate regimes to understand edge erosion.

implementation-impact
FUNDING RATE ACTION PLAN

Operational and Integration Impact

Teams interacting with Synthetix perps markets must model funding rate dynamics to manage position costs, build accurate settlement systems, and detect market stress. The following areas require operational attention.

01

Trading System Settlement Logic

Integrators must implement precise funding rate accrual and settlement logic to avoid balance discrepancies. Funding is applied continuously per block, not at discrete intervals. Your system must query the cumulative funding rate per position from the PerpsMarketProxy contract at the exact block of position modification or settlement. Failure to account for the exact block-level funding index will result in incorrect PnL calculations and user disputes.

02

Front-End Display and Cost Estimation

Displaying a real-time funding rate to traders requires off-chain computation using the current marketSkew and the on-chain funding parameters. The displayed rate is a velocity, not a fixed charge. Your UI must clearly distinguish between the instantaneous rate and the cumulative funding a position has paid or received. Misrepresenting this can lead to a poor user experience and misinformed trading decisions during high-skew periods.

03

Risk Monitoring for Extreme Skew

Risk teams must monitor the marketSkew for each perps market as a primary solvency indicator. A large, persistent skew creates a funding rate that incentivizes arbitrage to rebalance the debt pool. If the skew does not normalize, it signals that arbitrageurs are unwilling or unable to step in, potentially due to high costs or counterparty risk. Set alerts on skew as a percentage of market size to detect these stress events early.

04

Keeper and Arbitrageur Strategy

Funding rate arbitrage is a core mechanism for rebalancing the system. Teams running arbitrage strategies must model the net profitability of a trade by accounting for the funding rate velocity, the cost of opening a spot hedge, and the execution risk on both legs. A strategy that is profitable on paper may fail in production if gas costs or bridge latency for the hedging leg are not accurately modeled.

05

Indexer and Data Pipeline Impact

Indexers must track FundingRecomputed and PositionModified events to maintain an accurate off-chain ledger of user positions and their accrued funding. The funding rate is not a static field on the position; it is a function of the position's entry block and the current block's cumulative funding index. Your data pipeline must be capable of replaying this state to generate accurate historical PnL and tax reports.

06

Integration Testing for Parameter Changes

SCCPs can adjust the fundingVelocity and skewScale parameters, directly changing funding rate sensitivity. Integrators must build their systems to consume these on-chain parameters dynamically rather than hardcoding them. A governance vote to increase funding velocity will immediately amplify the cost of holding a position. Your test suite should include simulations of these parameter changes to validate system behavior before a proposal executes on mainnet.

FUNDING RATE OPERATIONAL IMPACT

Risk and Compatibility Matrix

Evaluates the operational risks, system dependencies, and required actions for teams integrating with or monitoring Synthetix perps funding rate mechanisms.

AreaWhat changesWho is affectedAction

Funding Rate Calculation

Velocity-based formula uses premium/discount and skew; parameters can be adjusted via SCCP.

Traders, risk teams, integrators, front-ends

Verify the current fundingVelocity and skewScale parameters against the canonical on-chain source before building settlement logic.

Funding Rate Application

Rate is applied pro-rata to open positions at each funding timestamp; funding is exchanged directly between longs and shorts.

Exchanges, custodians, portfolio trackers

Confirm your position PnL tracking correctly accounts for funding payments as a continuous cost, not a discrete fee event.

Funding Rate Settlement

Funding accrues in-position and is realized on position modification or closure; no external keeper triggers settlement.

Wallets, DeFi aggregators, composability protocols

Ensure your system simulates accrued funding on open positions to display accurate unrealized PnL and liquidation proximity.

Oracle Price Dependency

Premium/discount calculation depends on the difference between the perps market price and the canonical oracle spot price.

Risk teams, oracle providers, protocol operators

Monitor for oracle staleness or deviation; a faulty spot feed will corrupt the funding rate and cause mass unfair payments.

Parameter Governance Risk

Spartan Council can adjust fundingVelocity and skewScale, altering the cost of leverage and market incentives.

Governance delegates, market makers, institutional traders

Track SCCP proposals that modify funding parameters; simulate the impact on open interest and liquidity before they activate.

Cross-Chain Consistency

Perps markets on different chains (e.g., Ethereum, Optimism) may have independent oracle contexts and skew.

Multi-chain integrators, arbitrageurs

Do not assume funding rates are identical across deployments; verify each market's state independently to avoid mispricing.

Liquidation Risk Amplification

Sustained negative funding for a crowded long position accelerates the erosion of margin and increases liquidation risk.

Risk managers, position builders, liquidators

Incorporate projected funding costs into stress-testing scenarios for large positions during trending markets.

Indexer and Subgraph Impact

Funding rate events are emitted on-chain; off-chain indexers must process these events to track accrued funding.

Data teams, subgraph operators, analytics platforms

Validate that your indexer correctly handles funding rate events and recalculates accrued funding on each block to maintain data integrity.

FUNDING RATE OPERATIONAL READINESS

Monitoring and Validation Checklist

A structured checklist for risk teams, protocol operators, and integrators to validate that funding rate mechanisms are correctly calculated, applied, and settled in production. Use this to confirm system integrity before market launch, after parameter changes, or during incident response.

What to check: Replicate the funding rate calculation off-chain using the canonical formula (premium/discount component + interest rate component) and compare it against the on-chain value for the most recent funding period.

Why it matters: A mismatch indicates a bug in your off-chain settlement engine, indexer, or a misunderstanding of the protocol's calculation logic. This is the most common source of integration error.

Confirmation signal: Your off-chain calculated rate matches the on-chain fundingRate value for the same timestamp and market skew, within acceptable floating-point tolerance. Verify against multiple historical periods, not just the current one.

Chains We Build On

Looking to build on a specific blockchain?

We build smart contracts, DeFi applications, wallets, tokenization platforms, and blockchain infrastructure across the major ecosystems teams choose today. That includes Ethereum, Arbitrum, Optimism, Polygon, Avalanche, Solana, Sui, Aptos, Hedera, Stellar, and NEAR, with support for additional EVM and non-EVM networks based on your product requirements.

EVM ecosystems

  • Ethereum logo
    Ethereum
  • Arbitrum logo
    Arbitrum
  • Optimism logo
    Optimism
  • Polygon logo
    Polygon
  • Avalanche logo
    Avalanche
  • Cronos logo
    Cronos

Non-EVM ecosystems

  • Solana logo
    Solana
  • Sui logo
    Sui
  • Aptos logo
    Aptos
  • Hedera logo
    Hedera
  • Stellar logo
    Stellar
  • NEAR logo
    NEAR

Additional ecosystems

  • Polkadot logo
    Polkadot
  • Cosmos logo
    Cosmos
  • TON logo
    TON
  • Cardano logo
    Cardano
  • Algorand logo
    Algorand
  • Tempo logo
    Tempo

Also available for Base, appchains, custom EVM networks, and cross-chain product architecture.

FUNDING RATE OPERATIONS

Frequently Asked Questions

Common operational and integration questions about how funding rates are calculated, applied, and settled in Synthetix perpetual futures markets.

The funding rate is derived from the premium/discount of the perpetual futures market price relative to the spot index price. The core formula is:

funding_rate = (mark_price - index_price) / index_price * funding_multiplier

  • mark_price: The price used for PnL and liquidation calculations, typically derived from a combination of the index price and a moving average of the market's mid-price to prevent manipulation.
  • index_price: The aggregated spot price from external oracle networks (Chainlink, Pyth).
  • funding_multiplier: A configurable scalar that controls the speed at which the premium/discount is converted into a funding payment.

A positive rate means longs pay shorts; a negative rate means shorts pay longs. The specific multiplier and the methodology for calculating the mark price are defined in the SIP/SCCP that governs the specific market. Teams should verify the exact parameters for each market against the canonical PerpsMarketProxy contract on the relevant chain.

Trusted by Industry Leaders

Delivering blockchain solutions for 5+ years.

We have partnered with 50+ leading DeFi protocols, NFT ecosystems, and fintech innovators to build secure, scalable, and capital-efficient blockchain products.

Selected Partners & Clients

ChainVote logo
Reax logo
Sokail logo
Swapsicle logo
SyntheX logo
Tekika logo
Telos logo
Zexe logo
ChainVote logo
Reax logo
Sokail logo
Swapsicle logo
SyntheX logo
Tekika logo
Telos logo
Zexe logo
ChainVote logo
Reax logo
Sokail logo
Swapsicle logo
SyntheX logo
Tekika logo
Telos logo
Zexe logo
ChainVote logo
Reax logo
Sokail logo
Swapsicle logo
SyntheX logo
Tekika logo
Telos logo
Zexe logo
I've been working with Chainscore Labs for last 3+ years, they've consistently delivered with strong ownership across multiple projects. The team is reliable and detail-oriented.
L
Lee Erswell
CEO, Telos Foundation
how to get started

How to get started?

If you're looking for blockchain integration, ChainScore Labs has 5+ years of experience helping teams build and integrate exchanges, wallets, smart contracts, tokenization solutions, and protocol-connected products, we can help you choose the right path, integrate securely, and get to production faster. Our team consists of experienced blockchain developers and architects who can help you with your blockchain integration needs.

01

Exploration & Strategy

Define your product goals and choose the right blockchain architecture for your use case.

02

Architecture & Design

Design the smart contracts, tokenomics, and security parameters of your system.

03

Development & Integration

Build and integrate with wallets, oracles, and front-end dApps for a seamless experience.

04

Security & Launch

Comprehensive audits followed by a risk-managed mainnet deployment to protect your users.

Start a build

Need a blockchain engineering team?

Send the project context and we will respond with next steps, scope questions, and a practical path to delivery.