Get the most out of DuneSQL by writing efficient queries.
block_time
and block_number
are suitable for this purpose. For instance, consider the following optimized query:
account_activity
, which is ordered by account_keys
rather than block_time
. This allows for utilizing the min/max values for account_keys
when building queries based on raw Solana data.