Query editor
with eth_transfer_raw as (select block_time as time, "from" as address, cast(value as decimal(38, 0)) as amountfrom ethereum.traceswhere (call_type is null or call_type not in ('delegatecall', 'callcode', 'staticcall'))and success = True and value > uint256 '0'and "to" = 0x49048044D57e1C92A77f79988d21Fa8fAF74E97e -- Base: Base Portalunion allselect block_time as time, "to" as address, (-1)*cast(value as decimal(38, 0)) as amountfrom ethereum.traceswhere (call_type is null or call_type not in ('delegatecall', 'callcode', 'staticcall'))and success = True and value > uint256 '0'and "from" = 0x49048044D57e1C92A77f79988d21Fa8fAF74E97e -- Base: Base Portalunion allselect block_time as time, "from" as address, (-1) * cast(gas_price as double) * gas_used as amountfrom ethereum.transactionswhere success = True),base_transactions_summary as (select time, count(*) as transaction_count, count(distinct address) as unique_user_count,sum(amount/1e18) as eth_amountfrom eth_transfer_rawgroup by time),table_summary as (select time, transaction_count, unique_user_count, eth_amount, sum(transaction_count) over (order by time) as accumulate_transaction_count,sum(unique_user_count) over (order by time) as accumulate_active_user_count, sum(eth_amount) over (order by time) as TVBfrom base_transactions_summary)select *from table_summaryorder by time desc