select
date_trunc('day',block_timestamp) as days,
count(base64_decode_string(tx_message:txn:apaa[0]::String))as actions,
sender,
tx_id
from algorand.application_call_transaction
where app_id = 770102986
and base64_decode_string(tx_message:txn:apaa[0]::String)='withdraw'
group by 1,3,4