Querying on-chain data directly in DuckDB
Sign-Up
Add your Dune API key
Identify the Query Id
query_id
in a Dune URL is the first number in the URL.
For example, for this query https://dune.com/queries/3593117/6053355, the query_id
is 3593117
Start querying data in DuckDB
SELECT * FROM @dune.[insert_query_id_here] LIMIT 10