This schema contains comprehensive datasets for tracking Avalanche fundamental data across multiple metrics categories, including network activity, fees, staking, stablecoin usage, bridge activity, developer engagement, and market data.

Available Tables

Avalanche data is available in several tables:

  • ez_metrics: Main aggregated metrics for the Avalanche network
  • ez_metrics_by_category_v2: Metrics broken down by transaction category
  • ez_metrics_by_application_v2: Metrics broken down by application
  • ez_metrics_by_subcategory: Metrics broken down by subcategory
  • ez_metrics_by_contract_v2: Metrics broken down by contract
  • ez_metrics_by_chain: Cross-chain flow metrics with inflow and outflow data

Table Schema

Network and Usage Metrics

Table NameColumn NameDescription
ez_metricschain_txnsDaily transactions on the Avalanche network
ez_metricschain_dauDaily unique users on Avalanche
ez_metricschain_wauWeekly unique users on Avalanche
ez_metricschain_mauMonthly unique users on Avalanche
ez_metricschain_avg_txn_feeThe average transaction fee on Avalanche
ez_metricschain_median_txn_feeThe median transaction fee on Avalanche
ez_metricsreturning_usersThe number of returning users on Avalanche
ez_metricsnew_usersThe number of new users on Avalanche
ez_metricsdau_over_100_balanceThe number of users with balances over $100

User Classification Metrics

Table NameColumn NameDescription
ez_metricssybil_usersThe number of sybil users (suspected bots) on Avalanche
ez_metricsnon_sybil_usersThe number of non-sybil users on Avalanche
ez_metricslow_sleep_usersUsers with continuous activity (possible bots)
ez_metricshigh_sleep_usersUsers with normal activity patterns (likely humans)

Fee and Revenue Metrics

Table NameColumn NameDescription
ez_metricschain_feesThe total transaction fees paid on Avalanche (in USD)
ez_metricsecosystem_revenueTotal revenue generated (same as chain_fees)
ez_metricsecosystem_revenue_nativeThe total native AVAX value from all user-paid fees
ez_metricsburned_cash_flowUSD value of AVAX burned through transaction fees
ez_metricsburned_cash_flow_nativeAmount of native AVAX burned through transaction fees
ez_metricsfeesLegacy naming for chain_fees
ez_metricsfees_nativeTransaction fees in native AVAX tokens
ez_metricsrevenueLegacy naming for burned_cash_flow
ez_metricsrevenue_nativeLegacy naming for burned_cash_flow_native

Volume and Trading Metrics

Table NameColumn NameDescription
ez_metricschain_spot_volumeTotal spot DEX volume on Avalanche
ez_metricschain_nft_trading_volumeThe total volume of NFT trading on Avalanche
ez_metricssettlement_volumeTotal volume of DEX + NFT + P2P transfers
ez_metricsdex_volumesLegacy naming for chain_spot_volume
ez_metricsnft_trading_volumeLegacy naming for chain_nft_trading_volume

P2P Transfer Metrics

Table NameColumn NameDescription
ez_metricsp2p_native_transfer_volumeVolume of AVAX transfers directly between wallets
ez_metricsp2p_token_transfer_volumeVolume of ERC-20 token transfers between wallets
ez_metricsp2p_transfer_volumeTotal volume of all P2P transfers

Staking Metrics

Table NameColumn NameDescription
ez_metricstotal_stakedThe total USD value staked on Avalanche
ez_metricstotal_staked_nativeThe total amount of native AVAX staked
ez_metricstotal_staked_usdLegacy naming for total_staked

Stablecoin Metrics

Table NameColumn NameDescription
ez_metricsstablecoin_total_supplyThe total supply of stablecoins on Avalanche
ez_metricsstablecoin_txnsThe number of stablecoin transactions
ez_metricsstablecoin_dauDaily active users of stablecoins
ez_metricsstablecoin_mauMonthly active users of stablecoins
ez_metricsstablecoin_transfer_volumeThe total volume of stablecoin transfers
ez_metricsstablecoin_tokenholder_countThe number of unique stablecoin tokenholders
ez_metricsartemis_stablecoin_txnsStablecoin transactions excluding MEV transactions
ez_metricsartemis_stablecoin_dauDaily users excluding MEV addresses
ez_metricsartemis_stablecoin_mauMonthly users excluding MEV addresses
ez_metricsartemis_stablecoin_transfer_volumeStablecoin volume excluding MEV transactions
ez_metricsp2p_stablecoin_txnsP2P stablecoin transactions (wallet-to-wallet)
ez_metricsp2p_stablecoin_dauDaily users of P2P stablecoin transfers
ez_metricsp2p_stablecoin_mauMonthly users of P2P stablecoin transfers
ez_metricsp2p_stablecoin_transfer_volumeVolume of P2P stablecoin transfers
ez_metricsp2p_stablecoin_tokenholder_countUnique holders conducting P2P transfers
ez_metricsnon_p2p_stablecoin_transfer_volumeVolume of non-P2P stablecoin transfers (contract interactions)

Bridge Metrics

Table NameColumn NameDescription
ez_metricsbridge_volumeThe total volume bridged to/from Avalanche
ez_metricsbridge_daaDaily active users of Avalanche bridges

Tokenomics Metrics

Table NameColumn NameDescription
ez_metricsemissions_nativeThe amount of new AVAX tokens emitted
ez_metricsissuanceLegacy naming for emissions_native

Developer Activity Metrics

Table NameColumn NameDescription
ez_metricsweekly_commits_core_ecosystemCommits to the Avalanche core ecosystem repositories
ez_metricsweekly_commits_sub_ecosystemCommits to Avalanche sub-ecosystem repositories
ez_metricsweekly_developers_core_ecosystemDevelopers contributing to core repositories
ez_metricsweekly_developers_sub_ecosystemDevelopers contributing to sub-ecosystem repositories
ez_metricsweekly_contracts_deployedThe number of new contracts deployed on Avalanche
ez_metricsweekly_contract_deployersThe number of addresses deploying contracts

Market and Token Metrics

Table NameColumn NameDescription
ez_metricspriceThe price of AVAX token in USD
ez_metricsmarket_capThe market cap of AVAX token in USD
ez_metricsfdmcThe fully diluted market cap of AVAX token in USD
ez_metricstvlThe total value locked in Avalanche protocols

Sample Queries

Basic Network Activity Query

-- Pull fundamental network activity data for Avalanche
SELECT
    date,
    chain_txns,
    chain_dau,
    chain_fees,
    chain_avg_txn_fee,
    chain_median_txn_fee,
    price
FROM
    art_share.avalanche.ez_metrics
WHERE
    date >= DATEADD(month, -3, CURRENT_DATE())
ORDER BY
    date ASC

Fee and Revenue Analysis

-- Analyze Avalanche fee metrics
SELECT
    date,
    chain_fees,
    ecosystem_revenue,
    burned_cash_flow,
    chain_txns,
    chain_fees / chain_txns as fee_per_transaction,
    chain_avg_txn_fee,
    chain_median_txn_fee
FROM
    art_share.avalanche.ez_metrics
WHERE
    date >= DATEADD(month, -3, CURRENT_DATE())
ORDER BY
    date ASC

Staking Analysis

-- Analyze Avalanche staking metrics
SELECT
    date,
    total_staked,
    total_staked_native,
    price,
    market_cap,
    total_staked / market_cap * 100 as staking_ratio,
    emissions_native,
    emissions_native / total_staked_native * 365 * 100 as annualized_yield
FROM
    art_share.avalanche.ez_metrics
WHERE
    date >= DATEADD(month, -3, CURRENT_DATE())
ORDER BY
    date ASC

User Analysis

-- Analyze different user types on Avalanche
SELECT
    date,
    chain_dau,
    new_users,
    returning_users,
    sybil_users,
    non_sybil_users,
    low_sleep_users,
    high_sleep_users,
    dau_over_100_balance,
    non_sybil_users / NULLIF(chain_dau, 0) * 100 as non_sybil_percentage
FROM
    art_share.avalanche.ez_metrics
WHERE
    date >= DATEADD(month, -2, CURRENT_DATE())
ORDER BY
    date ASC

Volume Analysis

-- Analyze different volume sources on Avalanche
SELECT
    date,
    settlement_volume,
    chain_spot_volume,
    chain_nft_trading_volume,
    p2p_transfer_volume,
    p2p_native_transfer_volume,
    p2p_token_transfer_volume,
    stablecoin_transfer_volume,
    chain_spot_volume / NULLIF(settlement_volume, 0) * 100 as dex_percentage
FROM
    art_share.avalanche.ez_metrics
WHERE
    date >= DATEADD(month, -1, CURRENT_DATE())
ORDER BY
    date ASC

Stablecoin Analysis

-- Track stablecoin usage on Avalanche
SELECT
    date,
    stablecoin_total_supply,
    stablecoin_dau,
    artemis_stablecoin_dau,
    p2p_stablecoin_dau,
    stablecoin_transfer_volume,
    p2p_stablecoin_transfer_volume,
    non_p2p_stablecoin_transfer_volume,
    p2p_stablecoin_transfer_volume / NULLIF(stablecoin_transfer_volume, 0) * 100 as p2p_percentage
FROM
    art_share.avalanche.ez_metrics
WHERE
    date >= DATEADD(month, -2, CURRENT_DATE())
ORDER BY
    date ASC

Bridge Activity Analysis

-- Track bridge activity on Avalanche
SELECT
    date,
    bridge_volume,
    bridge_daa as bridge_dau,
    bridge_volume / NULLIF(bridge_daa, 0) as avg_bridge_volume_per_user,
    chain_dau,
    bridge_daa / NULLIF(chain_dau, 0) * 100 as bridging_user_percentage
FROM
    art_share.avalanche.ez_metrics
WHERE
    date >= DATEADD(month, -3, CURRENT_DATE())
ORDER BY
    date ASC

Developer Activity Monitoring

-- Track developer activity on Avalanche
SELECT
    date,
    weekly_contracts_deployed,
    weekly_contract_deployers,
    weekly_commits_core_ecosystem,
    weekly_commits_sub_ecosystem,
    weekly_developers_core_ecosystem,
    weekly_developers_sub_ecosystem,
    weekly_contracts_deployed / NULLIF(weekly_contract_deployers, 0) as avg_contracts_per_deployer
FROM
    art_share.avalanche.ez_metrics
WHERE
    date >= DATEADD(month, -6, CURRENT_DATE())
ORDER BY
    date ASC

Tokenomics Analysis

-- Analyze Avalanche tokenomics
SELECT
    date,
    emissions_native,
    burned_cash_flow_native,
    emissions_native - burned_cash_flow_native as net_daily_supply_change,
    price,
    (emissions_native - burned_cash_flow_native) * price as net_daily_supply_change_usd,
    emissions_native / NULLIF(total_staked_native, 0) * 365 * 100 as annualized_emission_rate
FROM
    art_share.avalanche.ez_metrics
WHERE
    date >= DATEADD(month, -3, CURRENT_DATE())
ORDER BY
    date ASC

Application-specific Analysis

-- Analyze metrics for specific applications on Avalanche
SELECT
    date,
    app,
    friendly_name,
    category,
    txns,
    dau,
    returning_users,
    new_users
FROM
    art_share.avalanche.ez_metrics_by_application_v2
WHERE
    date >= DATEADD(month, -2, CURRENT_DATE())
    AND app IN ('trader-joe', 'aave-v3', 'gmx')
ORDER BY
    app, date ASC

Cross-chain Flow Analysis

-- Analyze cross-chain flows to and from Avalanche
SELECT
    date,
    inflow,
    outflow,
    inflow - outflow as net_flow,
    SUM(inflow - outflow) OVER (ORDER BY date) as cumulative_net_flow
FROM
    art_share.avalanche.ez_metrics_by_chain
WHERE
    date >= DATEADD(month, -3, CURRENT_DATE())
ORDER BY
    date ASC