select
from_address,
count(tx_hash) as number_of_tx,
sum((tx_json:receipt:logs[0]:decoded:inputs:amount::float)/1e18) as eth_amount
from ethereum.core.fact_transactions
where to_address = '0xae0ee0a63a2ce6baeeffe56e7714fb4efe48d419'
and origin_function_signature = '0x00f714ce'
group by from_address
having eth_amount is not null
order by eth_amount desc
limit 5