BTC$82,453+0.62% ETH$2,422-0.12% USDT$0.9992+0.01% BNB$725.44+0.45% XRP$1.31+0.47% USDC$0.9998+0.00% SOL$105.15+0.68% TRX$0.3312-0.59% FIGR_HELOC$1.07+0.73% ZEC$1,173+1.87% HYPE$79.50+0.38% DOGE$0.0797-0.23% XMR$594.97-1.43% USDS$0.9999+0.00% WBT$80.58+0.52% LINK$12.18+0.94% ADA$0.2213-0.10% LEO$9.03-0.11% RAIN$0.009274-0.29% NEAR$5.01-0.55% XLM$0.1787+0.16% BCH$277.10-0.20% USDE$0.9996+0.01% LTC$59.35+0.08% UNI$7.30-0.04% DAI$1.00+0.00% AVAX$9.74-1.28% SUI$0.9999+0.77% CC$0.1024-0.66% USD1$0.9993+0.00% GRAM$1.35-0.58% HBAR$0.0841-2.43%
Menu
Início
Ativos
Cobertura
Todos os ativosEvery research file, largest firstSetoresWhat each category holds and weighsRankingsFourteen leaderboards and what they missMapa de calorThe market sized by value, shaded by changeMercado globalTotal capitalization, dominance and volume
Ferramentas
ScreenerFilter by fundamentals, supply and riskComparar ativosResearch files side by sideSalvoThe assets you have starred
Fundamentos
Economics
Fees & revenueWhat users pay, and who keeps itValor bloqueadoCapital deposited in each networkExchange volumeTrading on decentralized exchanges
Networks
Atividade de redeAddresses, transactions and throughputStablecoinsDollar tokens, where they live and what backs themStaking & yieldWhat securing a network pays, after issuance
Avaliação
Standardized measures
Múltiplos de valuationPrice against fees and revenue, limits statedSupply & issuanceCirculating, maximum and the dilution aheadDefinições de métricasEvery figure: definition, period, limitation
Institucional
Acesso regulado
Produtos negociados em bolsaEvery US-listed fund, with a page eachTesourarias corporativasListed companies holding digital assets
Pesquisa
Analysis
Notas de pesquisaShort notes written from stored figuresCalendário de eventosUpgrades, halvings and policy dates
Risco
Framework de riscoFifty factors in seven familiesIncidentes de segurançaExploits and failures, with the losses
Aprender
Educação
Learn libraryEleven tracks, from first principlesGlossárioEvery term in plain EnglishCalculadorasFee drag, dilution and conversion
How this site works
MetodologiaHow every figure is measuredFontes de dadosWho publishes what we showAtualização dos dadosWhen each feed last ranAI agentsPrompts that keep an assistant on our dataAPI públicaThe same figures, as JSON
Notícias Consultar os dados Sobre nós
Opções de leitura
Visão guiada

Novo nos mercados — preços, yields, market cap? Explicamos cada termo enquanto navega, em linguagem simples. Os mesmos dados, com ajuda integrada.

Visão de especialista

Você já conhece o mercado. Apenas os dados — limpos, rápidos e compactos, sem explicações adicionais. Esta é a vista predefinida.

View
Claro ou escuro
Idioma
Fotografia FotografiaStill lifeCryptoStudio
API pública

Todos os dados deste site estão disponíveis em JSON, com o período e a fonte vinculados.

Leia a documentação da API
DeFi Advanced 8 min

On-chain derivatives: perpetual futures, funding and margin

How a contract with no expiry stays tethered to spot, who takes the other side on chain, and what happens when margin runs out.

A derivative is a contract whose value depends on a price it does not hold. On chain, the clearing house that would normally stand between two traders is replaced by collateral rules written in code, an oracle that supplies the reference price, and a procedure for closing positions that can no longer support themselves. The dominant instrument is the perpetual future, which has no expiry date and therefore needs a mechanism to stop it drifting away from the asset it tracks.

Funding: the tether that replaces expiry

A dated future converges on spot because it settles on a known day. A perpetual never settles, so it uses a periodic payment between the two sides instead. When the contract trades above the index price, holders of long positions pay holders of short positions; when it trades below, the payment reverses. The funding rate is typically a function of the premium, computed and exchanged at fixed intervals.

The arithmetic is simple and the consequences are not. A payment equals the position's notional multiplied by the rate for the interval, and it is charged on notional rather than on margin. A position of 100,000 notional at an illustrative rate of 0.01 percent per eight-hour interval pays 10 units three times a day, which is around 11 percent of notional per year if the rate persisted. Against margin of 10,000, that same flow is over 100 percent a year. Funding is the price of holding a directional position when most of the market wants the same side, and at high leverage it can dominate the outcome regardless of what the underlying price does.

Funding is not a yield paid by anyone's protocol. It is a transfer between traders, and receiving it means holding the unpopular side of a position with its own directional exposure. Related concepts from dated markets still apply: basis is the gap between a future and spot, contango and backwardation describe which way it points, and both are visible on chain in a way they rarely are in traditional venues.

Two market structures, and who is the counterparty

The first structure is a familiar order book, with matching handled by a fast off-chain or application-specific sequencer and settlement enforced on chain. Traders face other traders. The compromise is that a sequencer is a privileged party that sees orders before they are final, which puts front-running and the general problem of MEV at the center of the design rather than at the edge.

The second structure pools capital and lets it act as the counterparty to every trader, either through a virtual market maker curve or through a pool that quotes off an oracle price. Depositors receive the fees and, necessarily, the aggregate profit or loss of the traders. This is a coherent business and it is not a fee-earning position: a pool of this kind is short whatever the trader base is long, and its worst results arrive precisely when a large directional move is underway. Where the pool quotes at an oracle price with a small fee and no price impact, it is also the natural target for anyone who can act on a price update before the oracle reflects it.

Margin, liquidation and the socialization of losses

Positions are marked continuously against a mark price, usually an index of several venues rather than the venue's own last trade, specifically so that a thin book cannot be pushed into triggering liquidations. When margin falls below the maintenance requirement, the position is closed by a liquidator or by the protocol itself, and a penalty is charged.

What happens if closing the position does not recover the debt is the part that distinguishes designs. An insurance fund, built from liquidation penalties and fees, absorbs the shortfall first. If it is exhausted, the remaining loss has to fall somewhere: on the pool acting as counterparty, on profitable traders through automatic deleveraging that force-closes winning positions at the bankruptcy price, or on the protocol's own reserves. Automatic deleveraging is the honest disclosure that a fully collateralized system with no external capital cannot always pay winners in full.

Order-book venuePool-as-counterparty venue
Who takes the other sideAnother traderDepositors in the pool
Price formationBids and offersRead from an oracle or a curve
Cost of sizeDepth of the bookFee, and any imbalance charge
Main structural riskSequencer privilege, thin depthStale price capture, one-sided trader positioning

Two structural details are worth adding. Collateral is usually posted in a single asset, so a trader holding a volatile asset as margin for a position in that same asset has correlated exposure on both sides of the account and the margin shrinks precisely when the position needs it. And because settlement is on chain, positions cannot be netted against an outside prime broker, which means capital sits fragmented across venues and the total collateral supporting the market is smaller than the sum of the positions suggests.

What to read, and its limits

Open positions and leverage across a market are described by open interest, positioning skew and the funding rate, and cascades are visible as clusters of forced closes at particular price levels. What deserves care is treating derivative volume as evidence of adoption: derivatives turnover can exceed spot turnover by a wide margin without any change in the underlying holder base, so turnover should be read against the market capitalization it is turning over, and on-chain venue volume against the capital supporting it. A large part of reported volume across the industry has historically been wash trading on venues with incentives tied to volume, which is a measurement problem before it is anything else.

The exchange activity pages carry venue-level volumes, the risk section covers liquidation and insurance fund design, and the metric catalog defines each volume series and its source. Because these systems price from oracles and settle in collateral borrowed elsewhere, the next two articles, on oracles and on bridges, describe most of the ways they break.

01

O que reter

A perpetual future has no expiry, so a periodic funding payment between longs and shorts keeps it tethered to the index price.
Funding is charged on notional rather than margin, so at high leverage it can dominate the result regardless of the underlying price.
In pool-based venues the depositors are the counterparty, so the pool is short whatever traders are collectively long.
When liquidation does not recover the debt, the loss falls on an insurance fund, on the pool, or on winning traders through automatic deleveraging.
Derivatives turnover can exceed spot turnover without any change in the holder base, and reported volume has a documented wash-trading problem.
Digital Asset DatabaseDigital asset research & education

Ativos

Todos os ativosSetoresRankingsMapa de calorScreenerCompararSalvo

Fundamentos

Fees & revenueValor bloqueadoExchange volumeAtividade de redeStablecoinsStaking & yield

Valuation & risk

Múltiplos de valuationSupply & issuanceDefinições de métricasFramework de riscoIncidentes de segurança

Institucional

Produtos negociados em bolsaTesourarias corporativasEventsNotas de pesquisaNotícias

Aprender

Learn libraryGlossárioCalculadorasConsultar os dadosAI agentsAPI pública

Sobre

Sobre nósContatoMetodologiaFontes de dadosPolítica editorialAtualização dos dados

Legal

Avisos legaisTermos de usoPrivacy policy