This commit is contained in:
drethereum 2024-02-26 16:24:05 -07:00
parent a2ab369e21
commit bf81157768

View File

@ -18,7 +18,12 @@ SELECT
unique_to_count,
total_fees AS total_fees_native,
ROUND(
total_fees * p.price,
total_fees * LAST_VALUE(
p.price ignore nulls
) over (
ORDER BY
block_timestamp_hour rows unbounded preceding
),
2
) AS total_fees_usd,
core_metrics_hourly_id AS ez_core_metrics_hourly_id,