@@ -45,8 +45,10 @@ Make sure to explore the dataset, the tables and their schema before running que
4545SELECT
4646 DATE (` timestamp` ) ` day` ,
4747 COUNT (* ) ` transactions`
48- FROM ` bigquery-public-data.crypto_multiversx_mainnet_eu.transactions`
49- WHERE DATE (` timestamp` ) >= DATE_SUB(CURRENT_DATE (), INTERVAL 7 DAY)
48+ FROM ` bigquery-public-data.crypto_multiversx_mainnet_eu.operations`
49+ WHERE
50+ type = ' normal'
51+ AND DATE (` timestamp` ) >= DATE_SUB(CURRENT_DATE (), INTERVAL 7 DAY)
5052GROUP BY ` day`
5153ORDER BY ` day` DESC
5254```
@@ -60,8 +62,10 @@ SELECT
6062 DATE (` timestamp` ) ` day` ,
6163 ` receiver` ` contract` ,
6264 COUNT (DISTINCT ` sender` ) ` num_users` ,
63- FROM ` bigquery-public-data.crypto_multiversx_mainnet_eu.transactions`
64- WHERE ` isScCall` = true
65+ FROM ` bigquery-public-data.crypto_multiversx_mainnet_eu.operations`
66+ WHERE
67+ type = ' normal'
68+ AND ` isScCall` = true
6569GROUP BY ` day` , ` contract`
6670HAVING ` day` >= DATE_SUB(CURRENT_DATE (), INTERVAL 3 DAY) AND ` num_users` > 1000
6771ORDER BY ` day` DESC , ` num_users` DESC
@@ -104,9 +108,10 @@ FROM (
104108 ROW_NUMBER() OVER (PARTITION BY DATE (` timestamp` )
105109 ORDER BY PARSE_BIGNUMERIC(` value` ) DESC ) AS ` row_num`
106110 FROM
107- ` bigquery-public-data.crypto_multiversx_mainnet_eu.transactions `
111+ ` bigquery-public-data.crypto_multiversx_mainnet_eu.operations `
108112 WHERE
109- ` status` = ' success'
113+ type = ' normal'
114+ AND ` status` = ' success'
110115 AND DATE (` timestamp` ) >= DATE_SUB(CURRENT_DATE (), INTERVAL 7 DAY) )
111116WHERE ` row_num` = 1
112117ORDER BY ` day` DESC
0 commit comments