IDEAS home Printed from https://ideas.repec.org/p/arx/papers/2609.10407.html

dexamine: A Python package for Uniswap event data on Ethereum

Author

Listed:
  • Magnus Hansson

Abstract

Decentralized exchanges record trading and liquidity provision on public blockchains, but empirical analysis requires interpreting these records and linking them to execution metadata. dexamine is a Python package that parses Uniswap v2 and v3 events on Ethereum. It converts transaction receipt logs into observations of trades and liquidity changes, with token quantities, pool state, transaction order, and gas information. The package separates data retrieval, contract metadata, protocol interpretation, and output construction. The repository provides recorded Ethereum responses and an offline reproducible example, and version 1 has been used to construct data for an empirical study of price discovery in decentralized markets.

Suggested Citation

  • Magnus Hansson, 2026. "dexamine: A Python package for Uniswap event data on Ethereum," Papers 2609.10407, arXiv.org.
  • Handle: RePEc:arx:papers:2609.10407
    as

    Download full text from publisher

    File URL: https://arxiv.org/pdf/2609.10407
    File Function: Latest version
    Download Restriction: no
    ---><---

    References listed on IDEAS

    as
    1. Alfred Lehar & Christine Parlour, 2025. "Decentralized Exchange: The Uniswap Automated Market Maker," Journal of Finance, American Finance Association, vol. 80(1), pages 321-374, February.
    Full references (including those not matched with items on IDEAS)

    Most related items

    These are the items that most often cite the same works as this one and are cited by the same works as this one.
    1. Agostino Capponi & 'Alvaro Cartea & Fayc{c}al Drissi, 2026. "The Viability of Blockchain Markets under Discrete Clearing and Paid Priority," Papers 2605.17425, arXiv.org.
    2. Chengqi Zang & Zhenghui Wang & Weitong Zhang, 2026. "A Dynamic Equilibrium Model for Automated Market Makers," Papers 2603.08603, arXiv.org.
    3. Agathe Sadeghi & Dingyue Liu & Ciamac Moallemi & Xin Wan & Brian Zhu, 2026. "Not All LPs Are Equal: The Active-Passive Gap in Automated Market Maker Liquidity Provision," Papers 2609.37963, arXiv.org, revised Oct 2026.
    4. Castillo León, Jaime & Lehar, Alfred, 2026. "What data have told us about decentralized finance," Journal of Corporate Finance, Elsevier, vol. 96(C).
    5. Chengqi Zang & Gabriel P. Andrade & Tomoyuki Nakajima, 2026. "Who Aggregates Information? Screening, Rent, and the Coexistence of CLOB and AMM Prediction Markets," Papers 2609.20017, arXiv.org.
    6. Harvey, Campbell R. & Hasbrouck, Joel & Saleh, Fahad, 2026. "Reprint of: The evolution of decentralized exchange: Risks, benefits, and oversight," Research Policy, Elsevier, vol. 55(7).
    7. Grigoriy Korolev, 2026. "Interest Rate Transmission in Decentralized Finance: Evidence from Aave Lending Protocol," Working Papers sp0003, New Economic School (NES).
    8. Philippe Bergault & S'ebastien Bieber & Leandro S'anchez-Betancourt, 2025. "Optimal Exit Time for Liquidity Providers in Automated Market Makers," Papers 2509.06510, arXiv.org, revised Oct 2025.
    9. Grigoriy Korolev, 2026. "Liquidity provider position analysis and pricing in automated market making systems," Digital Finance, Springer, vol. 8(1), pages 1-28, March.
    10. Nadler, Matthias & Schuler, Katrin & Schär, Fabian, 2026. "Blockchain price oracles: Accuracy and violation recovery," Journal of Corporate Finance, Elsevier, vol. 96(C).
    11. Liang, Jiaochen, 2026. "How fast does the Fed reach DeFi? Pass-through and settlement lags in stablecoin yields," Finance Research Letters, Elsevier, vol. 99(C).
    12. Chu, Gang & Dowling, Michael & Li, Xiao, 2026. "Impermanent loss in cryptocurrency," Journal of International Money and Finance, Elsevier, vol. 160(C).
    13. Dion Bongaerts & Thomas Lambert & Daniel Liebau & Peter Roosenboom, 2025. "Vote Delegation in DeFi Governance," Papers 2503.11940, arXiv.org.
    14. Xue Dong He & Chen Yang & Yutian Zhou, 2025. "Arbitrage on Decentralized Exchanges," Papers 2507.08302, arXiv.org, revised Sep 2026.
    15. Daojing Zhai, 2026. "Public Trader Identity: Adverse Selection and Return Predictability," Papers 2608.04373, arXiv.org, revised Aug 2026.
    16. Grigoriy Korolev, 2026. "Liquidity Provider Position Analysis and Pricing in Automated Market Making Systems," Working Papers sp0001, New Economic School (NES).
    17. Harvey, Campbell R. & Hasbrouck, Joel & Saleh, Fahad, 2026. "The evolution of decentralized exchange: Risks, benefits, and oversight," Research Policy, Elsevier, vol. 55(3).
    18. Joel Hasbrouck & Julian Ma & Fahad Saleh & Caspar Schwarz-Schilling, 2026. "Market Inefficiency in Cryptoasset Markets," Papers 2602.20771, arXiv.org, revised Mar 2026.
    19. Arati Uday Kamat, 2026. "A Multi-Venue Solana/DeFi Microstructure Data Corpus: The RED-2400 Family v2," Papers 2610.00005, arXiv.org.
    20. Li, Jiasun & Wu, Zhengxun, 2026. "Arbitrary message passing across blockchains and implications for financial markets," Research Policy, Elsevier, vol. 55(7).

    More about this item

    Statistics

    Access and download statistics

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:arx:papers:2609.10407. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    If CitEc recognized a bibliographic reference but did not link an item in RePEc to it, you can help with this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: arXiv administrators (email available below). General contact details of provider: https://arxiv.org/ .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.