Book Companion Dune Analytics DeFi Data

The DeFi Data Quick-Start

Everything the book links to, kept current. The book's text is frozen in print; this page is not. Bookmark it — it changes when the tools do.

Andrew Maury
Andrew Maury
Reading On-Chain Truth with Dune Analytics
The DeFi Data Quick-Start book cover

Get the book

A short, hands-on guide: from your first Dune query to a dashboard you can defend. Every query in it runs against live on-chain data.

Get it on Amazon →

The live example

ClearTrace — the neutral DEX execution-intelligence dashboard and API the book's methodology chapters draw on: cross-frontend attribution, sandwich detection, and execution-quality measurement across Ethereum, Base, Arbitrum, and Optimism.

Work along with the book

The queries

The book's Chapter 3 queries and the assembled dashboard, live on Dune — fork them, change the chain, break them, learn:

Going deeper

Errata & updates

On-chain tooling moves fast. Corrections and post-publish changes to queries or table names are logged here, newest first.

The author

Andrew Maury is the founder of Rantum, a data science and ML studio that turns messy, adversarial data into models, APIs, and products that ship. More at andrewmaury.com.