Query editor
SELECT CASE WHEN try_cast(json_extract_scalar(event_json,'$.epoch') AS bigint)>=1112 THEN 1 ELSE 0 END cut_marker,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 bigint) reference_gas_price_mist, try_cast(json_extract_scalar(event_json,'$.storage_fund_balance') AS double)/1e9 storage_fund_balance_sui, try_cast(json_extract_scalar(event_json,'$.storage_charge') AS double)/1e9 epoch_storage_charge_sui, try_cast(json_extract_scalar(event_json,'$.storage_rebate') AS double)/1e9 epoch_storage_rebate_sui FROM sui.events WHERE date >= DATE '2026-01-01' AND date <= current_date AND event_type='0x3::sui_system_state_inner::SystemEpochInfoEvent' ORDER BY epoch_id DESC