select date_trunc('day', block_timestamp) as days,
count(distinct TX_HASH) as trxs,
sum(AMOUNT_USD) as usd_volume,
count(distinct ORIGIN_FROM_ADDRESS) as sender,
count(distinct ORIGIN_to_ADDRESS) as receiver
from gnosis.core.ez_xdai_transfers
where block_timestamp>='2022-09-01'
group by 1