Query editor
SELECT from_unixtime(cast(timestamp_ms AS double)/1000) epoch_event_time,try_cast(json_extract_scalar(event_json,'$.epoch') AS bigint) epoch_id,try_cast(json_extract_scalar(event_json,'$.reference_gas_price') AS double) reference_gas_price_mist,try_cast(json_extract_scalar(event_json,'$.total_gas_fees') AS double)/1e9 computation_fees_sui,try_cast(json_extract_scalar(event_json,'$.stake_subsidy_amount') AS double)/1e9 stake_subsidy_sui,try_cast(json_extract_scalar(event_json,'$.total_stake_rewards_distributed') AS double)/1e9 distributed_stake_rewards_sui,try_cast(json_extract_scalar(event_json,'$.storage_fund_reinvestment') AS double)/1e9 storage_fund_reinvestment_sui,try_cast(json_extract_scalar(event_json,'$.total_gas_fees') AS double)/nullif(try_cast(json_extract_scalar(event_json,'$.total_stake_rewards_distributed') AS double),0) computation_fees_to_rewards_ratio,CASE WHEN try_cast(json_extract_scalar(event_json,'$.epoch') AS bigint)>=1112 THEN 1 ELSE 0 END cut_markerFROM sui.events WHERE date>=DATE '2026-01-01' AND date<current_dateAND event_type='0x3::sui_system_state_inner::SystemEpochInfoEvent'ORDER BY epoch_id