Skip to content
Dune Analytics

@rchen8 / Historical art sales

Historical art sales

Loading
 

About queries and results

Dune Analytics lets you explore, create, and share Ethereum analytics. You can find an endless amount of great queries and dashboards on Dune.

We have decoded Ethereum smart contract data so you can do powerful analysis with simple SQL queries and visualise the query results into beautiful graphs.

Dune Analytics is free for everyone forever. If you want extra features like private queries, export your results and more check out our Pro plan.

SQL query

1SELECT block_time,
2       value / 1e18 / 0.85 AS eth_price,
3       value / 1e18 / 0.85 * price AS usd_price
4FROM ethereum."traces" tr
5INNER JOIN prices."layer1_usd_eth" p ON date_trunc('minute', tr.block_time) = p.minute
6WHERE tx_hash IN
7    (SELECT evt_tx_hash
8     FROM erc721."ERC721_evt_Transfer"
9     WHERE contract_address = '\xb932a70a57673d89f4acffbe830e8ed7f75fb9e0'
10       AND "from" = '\xe1e1ca1bc76f25fe9696274d8bdb9516498c021e')
11  AND "to" = '\xe1e1ca1bc76f25fe9696274d8bdb9516498c021e'
12ORDER BY 2 DESC

SQL query results

Loading