Updated 2024-10-22
    /*SELECT
    *
    FROM
    solana.core.fact_events
    WHERE
    tx_id = '5DEk5AfL62rT8yi5N6xiuGydREY9R38qssrhYTP6fU4jegXjCJrtV3tUYw6HwinJvnY6UKCaVQ8PwFfRUcPXUXfV'*/




    SELECT
    block_timestamp,
    --date_trunc('hour', block_timestamp) as date,
    tx_id,
    address,
    action,
    amount / 1e9 as precise_amount,
    token,
    FROM solana.defi.fact_stake_pool_actions
    where stake_pool = 'Jito4APyf642JPZPx3hGc6WWJ8zPKtRbRs4P815Awbb'
    and
    action = 'withdraw'
    --(action = 'deposit' or action = 'withdraw')
    and succeeded = 'true'
    AND
    block_timestamp > current_timestamp - interval '1 day'
    LIMIT
    150
    QueryRunArchived: QueryRun has been archived