{
  "$schema": "https://degreesofsatoshi.com/encyclopedia/schemas/article-v1.json",
  "schemaVersion": "1.0.0",
  "id": "defi-arbitrage",
  "canonical": "https://degreesofsatoshi.com/encyclopedia/defi-arbitrage/",
  "collection": "defi",
  "title": "DeFi arbitrage: why prices converge and differences can remain",
  "description": "Understand how trades across markets can narrow price differences, why displayed spreads are not profits, and how atomic execution changes risk.",
  "aliases": [
    "cross-pool arbitrage"
  ],
  "dates": {
    "published": "2026-10-02",
    "modified": "2026-10-02",
    "verified": "2026-10-02T15:08:18.373Z",
    "dataAsOf": null
  },
  "authorship": {
    "publisher": "Degrees of Satoshi editorial project",
    "process": "AI-assisted research and drafting with a separate automated source-verification pass; no external expert or named human review is implied."
  },
  "quickAnswer": {
    "text": "Arbitrage combines purchases and sales across markets to exploit a price difference. In DeFi it can move AMM inventory toward prices elsewhere. A displayed spread is not a guaranteed profit: trade impact, fees, execution order and the ability to complete every leg all affect the result.",
    "claimId": "defi-arbitrage-quick-answer",
    "sourceIds": [
      "mev",
      "pricing"
    ]
  },
  "keyFacts": [
    {
      "label": "Price link",
      "value": "Arbitrage can bring pool prices closer to external markets.",
      "sourceIds": [
        "pricing"
      ],
      "id": "price-link",
      "claimId": "defi-arbitrage-fact-price-link"
    },
    {
      "label": "Ordering",
      "value": "Competition for transaction order affects opportunities.",
      "sourceIds": [
        "mev"
      ],
      "id": "ordering",
      "claimId": "defi-arbitrage-fact-ordering"
    },
    {
      "label": "Atomic borrowing",
      "value": "A pure flash loan must settle within its transaction.",
      "sourceIds": [
        "flash"
      ],
      "id": "atomic-borrowing",
      "claimId": "defi-arbitrage-fact-atomic-borrowing"
    }
  ],
  "prerequisites": [
    "automated-market-makers",
    "swap-routing-and-aggregators"
  ],
  "sections": [
    {
      "id": "spread",
      "heading": "A spread is the start of a calculation",
      "paragraphs": [
        "Suppose a tiny purchase of A costs 100 B on one venue and a tiny sale pays 102 B on another. The two-unit difference is an indicative spread. Buying a substantial quantity can raise the purchase rate while selling it can lower the sale rate.",
        "A complete calculation uses executable amounts, both venues’ fees, gas and any borrowing cost. It also accounts for token identity: similarly named bridged or wrapped assets are not automatically interchangeable claims."
      ],
      "sourceIds": [
        "pricing"
      ]
    },
    {
      "id": "atomic",
      "heading": "One transaction can combine several legs",
      "paragraphs": [
        "On a compatible chain, contract calls can attempt a purchase, sale and repayment within one transaction. If a required condition fails and the transaction reverts, its state changes are rolled back. Gas already used by an included attempt still has a cost.",
        "A pure flash loan supplies temporary capital under that atomic condition. It does not guarantee that a profitable sequence exists. Moving funds across independent chains or a centralized venue can introduce timing and custody steps outside the atomic transaction."
      ],
      "sourceIds": [
        "flash",
        "revert"
      ]
    },
    {
      "id": "competition",
      "heading": "Why a gap may disappear before execution",
      "paragraphs": [
        "Other searchers can spot the same opportunity and compete for inclusion or a favorable order. The price difference visible at a previous block may disappear before a submitted transaction executes.",
        "Arbitrage supplies a mechanism connecting prices rather than a promise that prices are always equal. Fees, inventory limits and execution constraints can maintain differences. When citing a spread, record its venues, assets and observation time."
      ],
      "sourceIds": [
        "mev",
        "pricing"
      ]
    }
  ],
  "faq": [
    {
      "question": "Is a visible price difference free money?",
      "answer": "No. The useful comparison is the completed trade after all legs, costs and price impact. Competitors and changing state can remove the opportunity before execution.",
      "sourceIds": [
        "mev",
        "pricing"
      ]
    }
  ],
  "claims": [
    {
      "id": "defi-arbitrage-quick-answer",
      "articleSlug": "defi-arbitrage",
      "statement": "Arbitrage combines purchases and sales across markets to exploit a price difference. In DeFi it can move AMM inventory toward prices elsewhere. A displayed spread is not a guaranteed profit: trade impact, fees, execution order and the ability to complete every leg all affect the result.",
      "sourceIds": [
        "source-5bbc1a71e6d876eb",
        "source-5cf943a6c62eb740"
      ],
      "sourceLocators": [
        {
          "sourceId": "source-5bbc1a71e6d876eb",
          "locator": "MEV extraction; Examples of MEV"
        },
        {
          "sourceId": "source-5cf943a6c62eb740",
          "locator": "Pricing Trades; Exact Input; Exact Output"
        }
      ],
      "scope": {
        "collection": "defi",
        "dataAsOf": null,
        "blockHeight": null
      },
      "qualification": "",
      "evidenceStatus": "documented",
      "verification": {
        "status": "verified",
        "method": "independent automated source review",
        "checkedAt": "2026-10-02T15:08:18.373Z",
        "reviewer": "automated independent verification",
        "notes": [
          "Read MEV arbitrage/order competition, v2 reserve pricing and Aave atomic flash-loan execution. Spread is correctly indicative until all costs and executable quantities are included.",
          "Added EIP-140 support for state rollback and consumed-gas qualification. Cross-chain/custodial legs are excluded from a single-chain atomic guarantee."
        ]
      }
    },
    {
      "id": "defi-arbitrage-fact-price-link",
      "articleSlug": "defi-arbitrage",
      "statement": "Price link: Arbitrage can bring pool prices closer to external markets.",
      "sourceIds": [
        "source-5cf943a6c62eb740"
      ],
      "sourceLocators": [
        {
          "sourceId": "source-5cf943a6c62eb740",
          "locator": "Pricing Trades; Exact Input; Exact Output"
        }
      ],
      "scope": {
        "collection": "defi",
        "dataAsOf": null,
        "blockHeight": null
      },
      "qualification": "",
      "evidenceStatus": "documented",
      "verification": {
        "status": "verified",
        "method": "independent automated source review",
        "checkedAt": "2026-10-02T15:08:18.373Z",
        "reviewer": "automated independent verification",
        "notes": [
          "Read MEV arbitrage/order competition, v2 reserve pricing and Aave atomic flash-loan execution. Spread is correctly indicative until all costs and executable quantities are included.",
          "Added EIP-140 support for state rollback and consumed-gas qualification. Cross-chain/custodial legs are excluded from a single-chain atomic guarantee."
        ]
      }
    },
    {
      "id": "defi-arbitrage-fact-ordering",
      "articleSlug": "defi-arbitrage",
      "statement": "Ordering: Competition for transaction order affects opportunities.",
      "sourceIds": [
        "source-5bbc1a71e6d876eb"
      ],
      "sourceLocators": [
        {
          "sourceId": "source-5bbc1a71e6d876eb",
          "locator": "MEV extraction; Examples of MEV"
        }
      ],
      "scope": {
        "collection": "defi",
        "dataAsOf": null,
        "blockHeight": null
      },
      "qualification": "",
      "evidenceStatus": "documented",
      "verification": {
        "status": "verified",
        "method": "independent automated source review",
        "checkedAt": "2026-10-02T15:08:18.373Z",
        "reviewer": "automated independent verification",
        "notes": [
          "Read MEV arbitrage/order competition, v2 reserve pricing and Aave atomic flash-loan execution. Spread is correctly indicative until all costs and executable quantities are included.",
          "Added EIP-140 support for state rollback and consumed-gas qualification. Cross-chain/custodial legs are excluded from a single-chain atomic guarantee."
        ]
      }
    },
    {
      "id": "defi-arbitrage-fact-atomic-borrowing",
      "articleSlug": "defi-arbitrage",
      "statement": "Atomic borrowing: A pure flash loan must settle within its transaction.",
      "sourceIds": [
        "source-f64306b50a0ea831"
      ],
      "sourceLocators": [
        {
          "sourceId": "source-f64306b50a0ea831",
          "locator": "Overview; Execution Flow; Flash loan fee"
        }
      ],
      "scope": {
        "collection": "defi",
        "dataAsOf": null,
        "blockHeight": null
      },
      "qualification": "",
      "evidenceStatus": "documented",
      "verification": {
        "status": "verified",
        "method": "independent automated source review",
        "checkedAt": "2026-10-02T15:08:18.373Z",
        "reviewer": "automated independent verification",
        "notes": [
          "Read MEV arbitrage/order competition, v2 reserve pricing and Aave atomic flash-loan execution. Spread is correctly indicative until all costs and executable quantities are included.",
          "Added EIP-140 support for state rollback and consumed-gas qualification. Cross-chain/custodial legs are excluded from a single-chain atomic guarantee."
        ]
      }
    }
  ],
  "sources": [
    {
      "id": "mev",
      "label": "Maximal extractable value",
      "publisher": "ethereum.org contributors",
      "url": "https://ethereum.org/developers/docs/mev/",
      "locator": "MEV extraction; Examples of MEV",
      "note": "Transaction ordering, arbitrage, liquidation and sandwich mechanisms.",
      "version": null,
      "checkedAt": "2026-10-02",
      "recordId": "source-5bbc1a71e6d876eb",
      "contentSha256": null
    },
    {
      "id": "pricing",
      "label": "Uniswap v2 pricing",
      "publisher": "Uniswap",
      "url": "https://developers.uniswap.org/docs/protocols/v2/concepts/pricing",
      "locator": "Pricing Trades; Exact Input; Exact Output",
      "note": "Reserve-dependent quotes, trade bounds and external price observations.",
      "version": "Uniswap v2",
      "checkedAt": "2026-10-02",
      "recordId": "source-5cf943a6c62eb740",
      "contentSha256": null
    },
    {
      "id": "flash",
      "label": "Aave V3 flash loans",
      "publisher": "Aave",
      "url": "https://aave.com/docs/aave-v3/guides/flash-loans",
      "locator": "Overview; Execution Flow; Flash loan fee",
      "note": "Atomic repayment, receiver callbacks and distinct debt-opening options.",
      "version": "Aave V3",
      "checkedAt": "2026-10-02",
      "recordId": "source-f64306b50a0ea831",
      "contentSha256": null
    },
    {
      "id": "revert",
      "label": "EIP-140: REVERT instruction",
      "publisher": "Ethereum Improvement Proposals",
      "url": "https://eips.ethereum.org/EIPS/eip-140",
      "locator": "Specification; Test Cases",
      "note": "Reverting rolls back state but does not refund work already executed; unused gas is not all consumed.",
      "version": "EIP-140 final",
      "checkedAt": "2026-10-02",
      "recordId": "source-ccab9c4be966af8f",
      "contentSha256": null
    }
  ],
  "related": {
    "articles": [
      "maximal-extractable-value",
      "flash-loans",
      "blockchain-bridges"
    ],
    "dossiers": [],
    "wallets": []
  },
  "revisionHistory": [
    {
      "date": "2026-10-02",
      "kind": "published",
      "summary": "First publication after primary-source research and independent automated verification."
    },
    {
      "date": "2026-10-02",
      "kind": "prepublication-review",
      "summary": "Before first publication, independent review checked and revised: sections, sources. Read MEV arbitrage/order competition, v2 reserve pricing and Aave atomic flash-loan execution. Spread is correctly indicative until all costs and executable quantities are included. Added EIP-140 support for state rollback and consumed-gas qualification. Cross-chain/custodial legs are excluded from a single-chain atomic guarantee."
    }
  ],
  "citation": "Degrees of Satoshi editorial project. “DeFi arbitrage: why prices converge and differences can remain.” Published 2026-10-02; updated 2026-10-02. https://degreesofsatoshi.com/encyclopedia/defi-arbitrage/"
}
