Advanced

Decentralised Perpetuals: Funding, Oracle Prices and Counterparty Exposure

🕐 10 min read · Updated 2026-10-10 · Not financial advice

How on-chain perpetual contracts work when there is no exchange holding the funds, and where the risk moves once the clearing house disappears. The structure removes one familiar risk and introduces several that are harder to see.

What replaces the order book

A centralised exchange matches buyers and sellers and holds the collateral. A decentralised perpetual uses a liquidity pool that holds the underlying asset, and the pool itself is the counterparty to every position.

Opening a long means buying from the pool. Opening a short means selling to it. The pool price is set by the net position flow rather than by a matching engine, which is why a large trade moves it immediately.

The pool holds the full notional value of open positions, which is the property that lets a decentralised venue support leverage without a broker. It is also the reason a bad oracle price has consequences that compound quickly.

Funding is the mechanism that anchors the price

A perpetual contract has no expiry, so it needs a force that stops its price drifting away from the spot price for long. Funding is that force.

Position holders pay a periodic fee to the other side of the contract. When the perpetual trades above spot, longs pay shorts. When it trades below spot, shorts pay longs. The rate reflects the size of the imbalance.

  • Funding rates are usually set per exchange and vary with the size of the imbalance.
  • They are paid on a fixed interval, commonly every few hours.
  • High positive funding is a sign of crowded longs and a cost that compounds against them.
  • Rates can flip negative and become a small income for longs rather than a cost.

Funding is not a fee in the exchange's sense. It is the price of staying in the trade, and it is the most predictable cost in the whole structure.

Oracle prices decide what is real

The pool cannot know the true market price on its own, so it reads it from an external source, usually an aggregate of other venues. That read is the reference used for margin and liquidations.

If the oracle reports a price that differs from the real market, the pool follows the oracle. A short position opened near the true price can be liquidated against a feed that spiked, and the trader cannot appeal to anything.

  • A single venue feeding a protocol is a single point of failure.
  • Frequent updates reduce staleness but increase dependency on the feed's source.
  • Disputed or poorly secured feeds have enabled several of the largest decentralised losses.
  • A feed that updates in large steps creates windows where margin calculations are wrong.

This is the central trade-off of the structure. Trust moves from the operator to a data source, and data sources are easier to attack and harder to inspect.

Counterparty exposure does not vanish

Removing a broker means removing a counterparty that can freeze withdrawals, block withdrawals pending review, or fail. It also means every pool becomes an entity you depend on without a legal relationship behind it.

Oracle manipulation, a drained pool, a stale price and a compromised admin key all produce the same outcome for the user: losses that the structure itself offered no remedy for.

Where fees go and how to compare them

A decentralised venue charges a trading fee to the pool rather than to a matching engine, and the revenue is paid out as incentives to liquidity providers. The total fee is often lower than a centralised equivalent, but part of it is paid in the venue's own token, which adds a second price exposure.

Compare the fee and the funding cost separately. A low trading fee with persistently high funding is more expensive than the headline suggests, and the two move independently.

Frequently asked questions

Do decentralised perpetuals eliminate counterparty risk?

No. They relocate it to the pool contract, the oracle feed and the governance keys. The counterparty is now code and data rather than a company, which changes the failure mode rather than removing it.

Why does funding matter more than the trading fee?

Because funding is recurring and unavoidable while you hold, while the trading fee is charged once on entry and exit. Over a position held for weeks, funding is often the larger number.

Can funding be negative?

Yes. Negative funding means shorts pay longs, so a long position held through a downtrend can receive funding rather than paying it, provided the price does not drop far enough to liquidate the position first.

↑ Back to top

Keep reading