This schema contains comprehensive datasets for tracking Wormhole fundamental data across multiple metrics categories, including cross-chain bridge activity, fees, token supply mechanics, and market data for the multichain bridge protocol.

Available Tables

Wormhole data is available in two main tables:

  • ez_metrics: Main aggregated metrics for the Wormhole protocol across all chains
  • ez_metrics_by_chain: Cross-chain flow metrics showing inflow and outflow data broken down by individual blockchain

Table Schema

Bridge Activity Metrics

Table NameColumn NameDescription
ez_metricsbridge_dauThe number of daily active addresses on Wormhole
ez_metricsbridge_txnsThe number of transactions on the Wormhole bridge
ez_metricsbridge_volumeThe total volume bridged through Wormhole
ez_metricsbridge_feesThe total fees collected by the Wormhole bridge

Revenue Metrics

Table NameColumn NameDescription
ez_metricsecosystem_revenueThe total USD value generated by Wormhole from all user-paid fees
ez_metricsfeesTotal fees collected by the protocol (same as bridge_fees)

Cross-Chain Flow Metrics

Table NameColumn NameDescription
ez_metrics_by_chaininflowThe amount (in USD) flowing into a specific chain
ez_metrics_by_chainoutflowThe amount (in USD) flowing out of a specific chain
ez_metrics_by_chainchainThe blockchain identifier
ez_metrics_by_chainappAlways β€˜wormhole’ for consistency
ez_metrics_by_chaincategoryAlways β€˜Bridge’ for consistency

Token Supply Metrics

Table NameColumn NameDescription
ez_metricscirculating_supply_nativeThe circulating supply of W tokens in native units
ez_metricsnet_supply_change_nativeThe net change in the circulating supply of W tokens
ez_metricspremine_unlocks_nativeThe amount of native W tokens unlocked from premine allocations

Market and Token Metrics

Table NameColumn NameDescription
ez_metricspriceThe price of W token in USD
ez_metricsmarket_capThe market cap of W token in USD
ez_metricsfdmcThe fully diluted market cap of W token in USD
ez_metricstoken_volumeThe trading volume of W token in USD
ez_metricstoken_turnover_circulatingThe turnover of W token based on circulating supply
ez_metricstoken_turnover_fdvThe turnover of W token based on fully diluted supply

Sample Queries

Basic Bridge Activity Query

-- Pull fundamental bridge activity data for Wormhole
SELECT
    date,
    bridge_txns,
    bridge_dau,
    bridge_volume,
    bridge_fees,
    ecosystem_revenue,
    price
FROM
    art_share.wormhole.ez_metrics
WHERE
    date >= DATEADD(month, -3, CURRENT_DATE())
ORDER BY
    date ASC

Cross-Chain Flow Analysis

-- Analyze cross-chain flows by individual blockchain
SELECT
    date,
    chain,
    inflow,
    outflow,
    (inflow - outflow) as net_flow,
    inflow + outflow as total_volume
FROM
    art_share.wormhole.ez_metrics_by_chain
WHERE
    date >= DATEADD(month, -1, CURRENT_DATE())
ORDER BY
    chain, date ASC

Chain Flow Comparison

-- Compare net flows across different chains
SELECT
    chain,
    SUM(inflow) as total_inflow,
    SUM(outflow) as total_outflow,
    SUM(inflow - outflow) as net_flow,
    SUM(inflow + outflow) as total_volume
FROM
    art_share.wormhole.ez_metrics_by_chain
WHERE
    date >= DATEADD(month, -3, CURRENT_DATE())
GROUP BY
    chain
ORDER BY
    total_volume DESC

Bridge Usage Efficiency

-- Analyze bridge usage efficiency and fee structure
SELECT
    date,
    bridge_volume,
    bridge_fees,
    bridge_txns,
    bridge_dau,
    bridge_fees / NULLIF(bridge_volume, 0) * 100 as fee_percentage,
    bridge_volume / NULLIF(bridge_txns, 0) as avg_volume_per_txn,
    bridge_volume / NULLIF(bridge_dau, 0) as avg_volume_per_user
FROM
    art_share.wormhole.ez_metrics
WHERE
    date >= DATEADD(month, -2, CURRENT_DATE())
    AND bridge_volume > 0
ORDER BY
    date ASC

Token Supply Analysis

-- Track Wormhole token supply changes and unlocks
SELECT
    date,
    circulating_supply_native,
    net_supply_change_native,
    premine_unlocks_native,
    price,
    market_cap,
    fdmc
FROM
    art_share.wormhole.ez_metrics
WHERE
    date >= DATEADD(month, -6, CURRENT_DATE())
ORDER BY
    date ASC

Market Performance Analysis

-- Analyze Wormhole token market performance
SELECT
    date,
    price,
    market_cap,
    fdmc,
    token_volume,
    token_turnover_circulating,
    token_turnover_fdv,
    bridge_volume,
    token_volume / NULLIF(bridge_volume, 0) * 100 as token_vs_bridge_volume_ratio
FROM
    art_share.wormhole.ez_metrics
WHERE
    date >= DATEADD(month, -3, CURRENT_DATE())
ORDER BY
    date ASC

Daily Bridge Metrics Summary

-- Comprehensive daily bridge performance summary
SELECT
    date,
    bridge_dau,
    bridge_txns,
    bridge_volume,
    bridge_fees,
    ecosystem_revenue,
    bridge_txns / NULLIF(bridge_dau, 0) as txns_per_user,
    bridge_fees / NULLIF(bridge_txns, 0) as avg_fee_per_txn
FROM
    art_share.wormhole.ez_metrics
WHERE
    date >= DATEADD(week, -4, CURRENT_DATE())
ORDER BY
    date DESC

Top Chain Activity

-- Identify most active chains by volume over time
SELECT
    date,
    chain,
    inflow + outflow as total_volume,
    inflow,
    outflow,
    CASE
        WHEN inflow > outflow THEN 'Net Inflow'
        WHEN outflow > inflow THEN 'Net Outflow'
        ELSE 'Balanced'
    END as flow_direction
FROM
    art_share.wormhole.ez_metrics_by_chain
WHERE
    date >= DATEADD(week, -2, CURRENT_DATE())
ORDER BY
    date DESC, total_volume DESC
-- Track bridge adoption and growth trends
SELECT
    date,
    bridge_dau,
    bridge_txns,
    bridge_volume,
    LAG(bridge_dau, 7) OVER (ORDER BY date) as bridge_dau_7d_ago,
    LAG(bridge_volume, 7) OVER (ORDER BY date) as bridge_volume_7d_ago,
    (bridge_dau - LAG(bridge_dau, 7) OVER (ORDER BY date)) / NULLIF(LAG(bridge_dau, 7) OVER (ORDER BY date), 0) * 100 as dau_growth_7d,
    (bridge_volume - LAG(bridge_volume, 7) OVER (ORDER BY date)) / NULLIF(LAG(bridge_volume, 7) OVER (ORDER BY date), 0) * 100 as volume_growth_7d
FROM
    art_share.wormhole.ez_metrics
WHERE
    date >= DATEADD(month, -2, CURRENT_DATE())
ORDER BY
    date ASC

Chain Concentration Analysis

-- Analyze volume concentration across different chains
WITH chain_totals AS (
    SELECT
        chain,
        SUM(inflow + outflow) as total_volume
    FROM
        art_share.wormhole.ez_metrics_by_chain
    WHERE
        date >= DATEADD(month, -1, CURRENT_DATE())
    GROUP BY
        chain
),
total_volume AS (
    SELECT SUM(total_volume) as grand_total
    FROM chain_totals
)
SELECT
    ct.chain,
    ct.total_volume,
    ct.total_volume / tv.grand_total * 100 as volume_percentage,
    SUM(ct.total_volume / tv.grand_total * 100) OVER (ORDER BY ct.total_volume DESC) as cumulative_percentage
FROM
    chain_totals ct
CROSS JOIN
    total_volume tv
ORDER BY
    ct.total_volume DESC