Skip to content

Orderflow Metrics (Old)

@angelfish@angelfish19 charts

Changelog:

June 13, 2023:

  • New Router Added: Uniswap wallet and dapp frontend switched to Universal Router V1_2 around June 5, 2023.

This dashboard is a series of queries that explores the swap orderflow of popular wallets & dapp frontends.

It considers:

  • relative market shares by volume, number of transactions, and distinct wallets in the last week, month, and year
  • average volume per wallet, top trade, average, 25 percentile, median, and 75 percentile of swaps
  • volume, number of transactions, and distinct wallets based on six trade size buckets from <1k to >100k

Approach: This query best effort approximates the orderflow per frontend by tracking transactions that interact with a to address of a list of routers, which you can find at the bottom of this dashboard.

Example: Every transaction is only counted once by the entry point, the service or the site where the user made the swap. This transaction routes through the Metamask Swap Router, and then the 1inch Aggregation Router, but this trade is only counted in as a trade on Metamask.

Credit: Shoutout to 1inch, whose code mine is based on. You can find 1inch's dashboard tracking frontend orderflow here. The primary differences are:

  • Uniswap Router Contracts are explicitly separated to reflect the Uniswap frontend orderflow more accurately, as they only use the Universal Router.
  • Cowswap is special-cased since the from address is the solver, not the user. Instead, the user is derived from the GPV2 Settlement trade event logs.
  • Code is refactored into CTEs, making queries slower but easier to read.
  • Additional trade statistics.

Last 30 Days

Last Week

Transaction Sanity Checker Takes in specific block and returns top-level trades.

Metrics Over Time

Notes:

  • I gathered the routers by looking at the top burn contracts in the last 90 days and verified most routers by sending test transactions through their frontends.
  • In the graphs that display data for the last year, there was a shift in Uniswap router usage from the V3 Router 02 to Universal Router when the official Uniswap frontends were upgraded.
  • Consider de-selecting popular Uniswap V2: Router 02 from the market shares because it is speculated that MEV bots are the primary users of this router.
  • On the week of June 5, 2023, Uniswap Wallet and Dapp frontend switched from the Universal Router to Universal Router V1_2. The label Uniswap Official is now Universal Router V1_2, and the original Universal Router, which will be used only by external projects using the swap widget, is labeled as Universal Router.

Further work:

  • I am still in the middle of contacting projects to verify the numbers are represented correctly.
  • include RFQ
  • include data about token pairs traded
  • how many swaps had neither starting nor ending token in prices.usd
  • remove badly priced tokens (LUNC)

List of Routers used in above queries and accompanying context and notes.

Trade Size Stats