with gmp as ( select CREATED_AT,
'GMP' as type,
id as tx_hash
from axelar.axelscan.fact_gmp
UNION
select CREATED_AT,
'Transfers' as type,
id as tx_hash
from axelar.axelscan.fact_transfers)
select
type,
count(DISTINCT tx_hash) as transactions
from gmp
group by 1