---
title: "Free Option Problem — definition | Nuri Glossary"
description: "One side of a pending swap can wait and only complete if the price has moved their way, which makes protocols hard to balance."
lang: "en"
type: "glossary-term"
canonical: "https://nuri.com/glossary/free-option-problem"
---

# Free Option Problem

One side of a pending swap can wait and only complete if the price has moved their way, which makes protocols hard to balance.

## Basically

In an atomic swap, one person can wait to see how the price moves before deciding whether to finish the trade. They get a free choice while the other person's money stays locked.

## Key Takeaways

- The free option problem gives one party in an atomic swap a costless call option: they can wait until the timelock nearly expires and decide whether to complete the trade based on how the price moved.
- Longer timelocks create more valuable options: academic research estimates fair premiums for crypto-to-crypto swaps at 2 to 3 percent of asset value due to high volatility, so the counterparty loses significant economic value even if the swap never completes.
- Mitigations include premium payments, short timelocks, and adaptor signatures: each approach reduces the asymmetry but introduces its own trade-offs in complexity, reliability, or cost.

## What Is the Free Option Problem?

The free option problem is a fundamental vulnerability in HTLC-based atomic swaps that gives one party an unearned American-style call option on the other party's asset. When two parties lock funds sequentially for a cross-chain swap, the initiator, who knows the hash preimage, can watch price movements and claim the counterparty's funds after a favourable move or let both timelocks expire after an unfavourable move so both parties receive refunds. The counterparty bears the full cost because their funds stay locked for the entire duration without compensation.
Han, Lin, and Yu formally identified and modelled the problem in "On the optionality and fairness of Atomic Swaps", presented at ACM AFT 2019. Their analysis showed that every standard HTLC-based atomic swap inherently creates an options contract, whether the participants realise it or not, and changed how protocol designers think about cross-chain exchange mechanisms.

## How It Works

Alice and Bob provide a typical example of the free option problem in an atomic swap. Alice wants to trade Bitcoin for another asset that Bob holds.
The critical asymmetry appears in step 4, when Alice faces no downside after both sides have locked funds. She can watch the exchange rate for the full duration of T2, reveal the secret and complete the swap if the rate moves in her favour, or do nothing if it moves against her. If she does nothing, both HTLCs eventually expire, and both parties recover their original funds.
Bob has his liquidity completely locked and cannot trade, lend, or use those funds for anything else. He has effectively written a free call option to Alice, giving her all the upside with none of the downside.

## Option Value and Timelock Duration

The value of Alice's free option scales directly with two factors: the duration of the timelock and the volatility of the underlying assets. Han et al. used the Cox-Ross-Rubinstein binomial option pricing model to calculate that fair premiums for typical crypto-to-crypto atomic swaps range from 2 to 3 percent of asset value. That is roughly ten times the premium for comparable stock or fiat options, reflecting the higher volatility in cryptocurrency markets.
A practical example makes the cost clear: if Bob locks $10,000 worth of assets in a swap with a 24-hour timelock, Alice effectively receives a free option worth $200 to $300. If she lets the swap expire, Bob has lost that economic value in opportunity cost and exposure, even though his funds are eventually returned.

## The Timing Asymmetry

The free option problem comes from the sequential nature of HTLC-based swaps, which require staggered timelocks: T1, Alice's lock, must be longer than T2, Bob's lock, so Alice has time to claim Bob's funds and Bob can still reclaim his funds if Alice disappears. The staggering is a necessary property for atomicity, not a bug in protocol design. Without it, Alice could claim Bob's asset after Bob's timelock had already expired, breaking the swap's safety guarantee.
Multi-hop scenarios compound the problem because each additional hop in a routed payment requires an additional timelock buffer, extending the total option window. A four-hop swap might need timelocks spanning days rather than hours, dramatically increasing the option value.

## Impact on Lightning Network Routing

The free option problem extends beyond direct two-party swaps. It affects every multi-hop payment on the Lightning Network where intermediate routing nodes face similar timing asymmetries.
Each node adds a CLTV delta to the timelock in a standard Lightning payment routed through multiple hops, giving the sender's HTLC the longest timelock and the receiver's the shortest. A routing node that receives the preimage from the next hop can delay forwarding it to the previous hop. During that delay, the node holds a free option because changes in routing fee economics or the exchange rate let it choose the optimal time to settle.
Routing nodes can intentionally stall payments to lock other nodes' liquidity without cost, creating a form of griefing attack. The closely related channel jamming problem lets an attacker lock up a victim's channel capacity with payments that never settle, effectively forcing the victim to write free options.

## Mitigations

Several proposed and implemented approaches reduce or eliminate the free option problem. Each involves trade-offs between security, complexity, and practicality.

## Premium Payments

The most direct mitigation requires the initiator to pay a non-refundable premium to the counterparty, compensating them for the option value. The ERC-2266 standard, authored by the same Monash University team that formalised the problem, implements this for Ethereum-based atomic swaps. The protocol uses a three-layer timelock structure: asset timelocks for each party plus a separate premium timelock.
Premium payments give the initiator skin in the game. Walking away from the swap still costs them the premium, which the counterparty keeps regardless of the outcome. The premium is calibrated to the option's fair value, making exploitation unprofitable.

## Short Timelocks

Shorter timelocks shrink the option window and its value, so a swap with a 10-minute timelock offers far less optionality than one with a 24-hour timelock. Shorter timelocks also introduce reliability risks because on-chain transactions may not confirm in time, especially during network congestion. The swap fails entirely if the counterparty cannot lock their funds before the initiator's timelock expires.

## Adaptor Signatures

Adaptor signatures, also called scriptless scripts, replace hash-locked contracts with cryptographic constructions based on elliptic curve points. Parties exchange partial signatures that can be completed, or adapted, into valid signatures using a shared secret instead of revealing a hash preimage on-chain.
Adaptor signatures do not directly eliminate the free option problem, but they enable more flexible protocol designs that can incorporate premium mechanisms with a smaller on-chain footprint. They also improve privacy by removing the hash correlation between the two sides of a swap. PTLCs, or Point Time-Locked Contracts, bring this approach to Lightning through Schnorr-based adaptor signatures enabled by Taproot.

## Trusted or Semi-Trusted Intermediaries

Some protocols sidestep the free option problem by introducing a coordinating party that enforces simultaneous execution. Centralised exchanges do this implicitly by executing both sides of a trade atomically within the exchange's database, while federated systems like Fedimint offer a middle ground by using threshold cryptography to distribute trust across multiple guardians while maintaining atomic execution.

## Cross-Chain Atomic Swaps

The free option problem is most acute in cross-chain atomic swaps where assets on different blockchains are exchanged without intermediaries. The timelocks must account for confirmation times on both chains, often creating multi-hour windows with substantial option value. That option value is a key reason why trustless cross-chain DEXs have struggled to gain traction compared with centralised alternatives.

## Submarine Swaps

Submarine swaps exchange on-chain Bitcoin for Lightning payments, or vice versa, and the on-chain leg requires block confirmations that introduce timing delays and free option exposure. Services like Loop and Boltz mitigate this through reputation, fees that implicitly price the option, and optimised timelock parameters.

## Lightning Routing Payments

Every forwarded Lightning payment creates a small free option for each routing node. Individual payments involve minimal option value because of their short timelocks and small amounts, but the aggregate effect across thousands of routed payments can be significant. High-value payments are especially relevant because their per-hop option value becomes economically meaningful.

## Economic Losses for Market Makers

Market makers and liquidity providers in decentralised swap protocols face continuous free option exposure because every pending swap effectively writes an option that the counterparty can exercise for free. Adverse selection erodes profitability over time: market makers consistently lose on trades where the price moved against them because counterparties complete the swap. They gain nothing on trades where the price moved in their favour because counterparties abandon the swap.

## Reduced Liquidity Provision

The free option problem discourages liquidity provision in trustless swap protocols. Rational participants demand wider spreads or higher fees to compensate for the embedded option they are writing. Those higher costs affect all users and reduce the competitiveness of decentralised swap mechanisms compared with centralised alternatives that do not suffer from this problem.

## Compounding in Volatile Markets

The free option becomes most damaging during periods of high volatility, exactly when swap demand tends to be highest. A market crash or rally dramatically increases the option value, incentivising counterparties to exploit the asymmetry rather than complete trades honestly. The resulting negative feedback loop makes the protocol least reliable when users need it most.

## Game-Theoretic Implications

Research by Xu (2020) and Tsabary, Yehuda, and Gaazi (2021) shows that the free option problem creates a game-theoretic imbalance in HTLC-based protocols. In "Failure is (literally) an Option", the authors demonstrated that rational participants will always exploit the optionality when the potential gain exceeds transaction costs. Without explicit mitigation, HTLC-based swaps are fundamentally unfair in equilibrium because the initiator always captures value at the other participant's expense.
This glossary entry is for informational purposes only and does not constitute financial or investment advice. Always do your own research before using any protocol or technology.
Part of the [Nuri glossary](https://nuri.com/glossary), which defines 1876 Bitcoin, Lightning, wallet, stablecoin and payment terms.
