Raw Data
Raw data tables are the basic building blocks of our database.


Raw data tables allow you to query for any transaction, block, event log or trace across the blockchains Dune supports. These tables provide you raw, unfiltered and unedited data.
Raw data tables are very useful to get meta information about the blockchain, a transaction, traces or certain events.
Additionally, with a few tricks and a bit of patience, you can actually gain substantial insights into systems of smart contracts using the encoded data. Alex Kroeger wrote a great article about this exact topic. We have a several SQL functions in our database that allow you to more easily work with encoded data.
However, queries that have been written using raw data tables are notoriously hard to understand and audit due to the nature of the the encoded data commonly found in these tables. Furthermore, the raw data tables have a very large number of rows and hence can be slow to query.
Most of the time you are better off submitting contracts for decoding and working with decoded data.

Raw data tables

Copy link
Edit on GitHub