Afonso_DiazBy event overtime
Updated 2025-02-18
99
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
main as (
select
tx_id,
block_timestamp,
stake_account as user,
validator_name,
platform,
post_tx_staked_balance - pre_tx_staked_balance as amount,
post_tx_staked_balance_usd - pre_tx_staked_balance_usd as amount_usd,
event_type as event_name
from
solana.marinade.ez_native_staking_actions
where
event_type = 'delegate'
and succeeded
and amount > 0
union all
select
tx_id,
block_timestamp,
stake_account as user,
validator_name,
platform,
withdraw_amount as amount,
abs(post_tx_staked_balance_usd - pre_tx_staked_balance_usd) as amount_usd,
event_type as event_name
from
solana.marinade.ez_native_staking_actions
where
event_type = 'withdraw'
and succeeded
and post_tx_staked_balance_usd - pre_tx_staked_balance_usd < 0
QueryRunArchived: QueryRun has been archived