rahoveVelo
Updated 2023-04-13
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 all_sales as (
select
date(block_timestamp) as date ,
tx_hash,
event_type,
seller_address,
buyer_address,
nft_address,
tokenid,
currency_symbol,
price,
price_usd
from optimism.core.ez_nft_sales
where nft_address = lower('0x9c7305eb78a432ced5C4D14Cac27E8Ed569A2e26')
and event_type = 'sale'
),
locks as(
select
tx_hash,
token_id,
velo_amount,
velo_amount_usd
from
optimism.velodrome.ez_velo_locks
),
lock_and_sale as(
select
s.*,
l.*
-- token_id l,
-- velo_amount l,
-- velo_amount_usd l
from all_sales l
Run a query to Download Data