KARTODGas price for different blocks
    Updated 2022-06-25
    SELECT
    'Optimism' AS "Block",
    AVG(GAS_PRICE) AS "AVG gas price"
    FROM optimism.core.fact_transactions
    WHERE BLOCK_TIMESTAMP > '2022-06-10'

    UNION ALL

    SELECT
    'Arbitrum' AS "Block",
    AVG(GAS_PRICE) AS "AVG gas price"
    FROM arbitrum.core.fact_transactions
    WHERE BLOCK_TIMESTAMP > '2022-06-10'

    UNION ALL

    SELECT
    'Avalanche' AS "Block",
    AVG(GAS_PRICE) AS "AVG gas price"
    FROM avalanche.core.fact_transactions
    WHERE BLOCK_TIMESTAMP > '2022-06-10'

    UNION ALL

    SELECT
    'Ethereum' AS "Block",
    AVG(GAS_PRICE) AS "AVG gas price"
    FROM ethereum.core.fact_transactions
    WHERE BLOCK_TIMESTAMP > '2022-06-10'
    Run a query to Download Data