FUNCTION | TRANSACTIONS | USERS | VOLUME | |
---|---|---|---|---|
1 | buy | 5220 | 2789 | 850751252.41837 |
2 | sell | 2052 | 1092 | 752993449.913573 |
freemartianTotal swaps
Updated 2025-03-05
999
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
›
⌄
with whitelist AS (
select
block_timestamp,
tx_hash,
to_address AS user,
amount,
amount_usd,
symbol,
token_price
FROM base.core.ez_token_transfers
WHERE block_timestamp::date >= '2025-01-09'
AND contract_address = '0x3e64cd8fd4d2fae3d7f4710817885b0941838d0b'
AND to_address not in ('0xe6ec4c661f0b822ba2851b4a1de9ad64132fbfe3','0xdda04ab22bd06ef490621eace04219798dd71bfd')
AND tx_hash = '0x96f04e65252e38752d13071255b946c982ed1fd8b6569e3903cca00e290d477b'
),
swap_from_1 AS(
SELECT
block_timestamp,
tx_hash,
decoded_log:sender::string AS user,
(decoded_log:spentAmount/pow(10,18))::string AS amount_out,
'3BC' AS from_token,
decoded_log:dstToken::string AS to_token,
decoded_log:returnAmount::string AS to_amount_raw,
decoded_log,
'sell' AS function
FROM base.core.ez_decoded_event_logs
WHERE decoded_log:srcToken = '0x3e64cd8fd4d2fae3d7f4710817885b0941838d0b'
AND block_timestamp::date >= '2025-01-09'
and event_name = 'Swapped'
),
swap_from_2 AS(
SELECT
block_timestamp, tx_hash, origin_from_address AS user, amount, amount_usd, 'sell' as function
Last run: 21 days agoAuto-refreshes every 1 hour
2
71B
1113s