Updated 2021-11-18
    SELECT
    sum(fee) as total_tx_fees_paid,
    sum(fee_usd) as total_tx_fees_paid_usd
    FROM polygon.transactions
    WHERE
    from_address = lower('0x3D7Fd0a441048ac73e986c889F8e2c8BAFC935f5') OR
    to_address = lower('wallet address')
    Run a query to Download Data