SG datagas fee line graph
999
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
›
⌄
WITH
eth_tx_fees AS (
SELECT
'ethereum' AS dataset,
TO_CHAR(BLOCK_TIMESTAMP, 'YYYY-MM') AS year_month,
tx_fee,
GAS_LIMIT
FROM
ethereum.core.fact_transactions
WHERE
BLOCK_TIMESTAMP >= CURRENT_DATE() - INTERVAL '1095 days'
),
polygon_tx_fees AS (
SELECT
'polygon' AS dataset,
TO_CHAR(BLOCK_TIMESTAMP, 'YYYY-MM') AS year_month,
tx_fee,
GAS_LIMIT
FROM
polygon.core.fact_transactions
WHERE
BLOCK_TIMESTAMP >= CURRENT_DATE() - INTERVAL '1095 days'
),
bsc_tx_fees AS (
SELECT
'bsc' AS dataset,
TO_CHAR(BLOCK_TIMESTAMP, 'YYYY-MM') AS year_month,
tx_fee,
GAS_LIMIT
FROM
bsc.core.fact_transactions
WHERE
BLOCK_TIMESTAMP >= CURRENT_DATE() - INTERVAL '1095 days'
),
avalanche_tx_fees AS (
SELECT
Run a query to Download Data