Skip to content
Dune Analytics

@hagaetc / Highest bid per auction

Highest bid per auction

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 results

Loading
 

SQL query

1WITH bids AS (
2
3SELECT
4    call_tx_hash
5    , id
6    , SUM((bid/1e45)/(lot/1e18)) AS bid_price_in_dai
7    , dent.id AS auction_id
8    , SUM(dent.lot/1e18) AS MKR_for_sale
9    , SUM(dent.bid/1e45) AS dai
10    
11    
12FROM makermcd."FLOP_call_dent" dent
13WHERE call_success
14GROUP BY 1, 2
15ORDER BY 2 asc, 3 desc
16)
17
18SELECT id, MAX(bid_price_in_dai)
19FROM bids
20GROUP BY 1
21ORDER BY 1 asc;
22