Query editor
-- Per-market BSC revenue feed for the monthly Prime rewards digest.-- Scope must stay identical to 6134575 ([Prime] Monthly revenue by market), otherwise-- the breakdown will not add up to the headline prime_allocation:-- * blockchain = 'bnb' (Prime is BSC-exclusive)-- * ALL pools, no pool='core' filter (ZD decision 2026-08-03)-- * vTUSDOLD excluded (deprecated, no cash, interest not collectible)SELECTperiod AS month,market,pool,vtoken_address,reserve_revenue,liquidation_revenue,reserve_revenue + liquidation_revenue AS total_revenue,total_liquidity AS avg_liquidityFROM "query_5477728(granularity='month')"WHERE blockchain = 'bnb'AND period < DATE_TRUNC('month', CURRENT_DATE)AND period >= DATE_TRUNC('month', CURRENT_DATE) - INTERVAL '4' monthAND vtoken_address != 0x08ceb3f4a7ed3500ca0982bcd0fc7816688084c3ORDER BY month DESC, reserve_revenue DESC