Skip to main content

Finding the Top dApps on Coinbase

This guide shows you how to progressively build queries to discover and rank the top decentralized applications (Dapps) on Coinbase by market capitalization.

Follow these 4 queries step-by-step. Each one builds on the previous to achieve the final result: a ranked list of top dApps on Coinbase.

Understanding the Progression

  1. Run a basic query to view all dApps (organizations) in the system.
  2. Repeat the query, but filtered for Coinbase-related Dapps (note how the results narrow down).
  3. Add performance metrics from vaults (market cap, shares, and positions), data is now richer but not yet sorted.
  4. Repeat the query from Step 3, but this time sort by market cap to show the top performing dApps first.

Query

query DiscoverAllDapps($limit: Int = 10) {
  atoms(
    limit: $limit
    where: { type: { _eq: "Thing" } }
  ) {
    term_id
    label
    image
    emoji
    type
    created_at
  }
}

Variables

Click "Run Query" to execute the GraphQL query and see results