with metamask as (
select distinct origin_from_address as unique_address
from ethereum.core.fact_event_logs
where lower(contract_address) = lower('0x881D40237659C251811CEC9c364ef91dC08D300C')
)
select sum(CURRENT_BAL) as total_balance,avg(CURRENT_BAL) as average_eth
from ethereum.core.ez_current_balances join metamask on user_address = unique_address
where symbol = 'ETH' and TOKEN_NAME='Native Ether'