You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/data.md
+16-8Lines changed: 16 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -17,7 +17,8 @@ SELECT block_number as number, block_timestamp as timestamp, coinbase_param as i
17
17
FROM `bigquery-public-data.crypto_bitcoin.transactions`
18
18
JOIN `bigquery-public-data.crypto_bitcoin.blocks` ON `bigquery-public-data.crypto_bitcoin.transactions`.block_number = `bigquery-public-data.crypto_bitcoin.blocks`.number
19
19
WHERE is_coinbase is TRUE
20
-
AND timestamp > '2017-12-31'
20
+
AND timestamp > '2018-01-01'
21
+
ORDER BY timestamp
21
22
```
22
23
23
24
### Bitcoin Cash
@@ -27,7 +28,8 @@ SELECT block_number as number, block_timestamp as timestamp, coinbase_param as i
27
28
FROM `bigquery-public-data.crypto_bitcoin_cash.transactions`
28
29
JOIN `bigquery-public-data.crypto_bitcoin_cash.blocks` ON `bigquery-public-data.crypto_bitcoin_cash.transactions`.block_number = `bigquery-public-data.crypto_bitcoin_cash.blocks`.number
29
30
WHERE is_coinbase is TRUE
30
-
AND timestamp > '2018-12-31'
31
+
AND timestamp > '2018-01-01'
32
+
ORDER BY timestamp
31
33
```
32
34
33
35
### Cardano
@@ -36,7 +38,8 @@ AND timestamp > '2018-12-31'
36
38
SELECT `iog-data-analytics.cardano_mainnet.block`.slot_no as number, `iog-data-analytics.cardano_mainnet.pool_offline_data`.ticker_name as identifiers, `iog-data-analytics.cardano_mainnet.block`.block_time as timestamp,`iog-data-analytics.cardano_mainnet.block`.pool_hash as reward_addresses
37
39
FROM `iog-data-analytics.cardano_mainnet.block`
38
40
LEFT JOIN `iog-data-analytics.cardano_mainnet.pool_offline_data` ON `iog-data-analytics.cardano_mainnet.block`.pool_hash = `iog-data-analytics.cardano_mainnet.pool_offline_data`.pool_hash
39
-
WHERE `iog-data-analytics.cardano_mainnet.block`.block_time > '2020-12-31'
41
+
WHERE `iog-data-analytics.cardano_mainnet.block`.block_time > '2018-01-01'
42
+
ORDER BY `iog-data-analytics.cardano_mainnet.block`.block_time
40
43
```
41
44
42
45
### Dogecoin
@@ -46,15 +49,17 @@ SELECT block_number as number, block_timestamp as timestamp, coinbase_param as i
46
49
FROM `bigquery-public-data.crypto_dogecoin.transactions`
47
50
JOIN `bigquery-public-data.crypto_dogecoin.blocks` ON `bigquery-public-data.crypto_dogecoin.transactions`.block_number = `bigquery-public-data.crypto_dogecoin.blocks`.number
48
51
WHERE is_coinbase is TRUE
49
-
AND timestamp > '2019-12-31'
52
+
AND timestamp > '2018-01-01'
53
+
ORDER BY timestamp
50
54
```
51
55
52
56
### Ethereum
53
57
54
58
```
55
59
SELECT number, timestamp, miner as reward_addresses, extra_data as identifiers
56
60
FROM `bigquery-public-data.crypto_ethereum.blocks`
57
-
WHERE timestamp > '2018-12-31'
61
+
WHERE timestamp > '2018-01-01'
62
+
ORDER BY timestamp
58
63
```
59
64
60
65
### Litecoin
@@ -64,15 +69,17 @@ SELECT block_number as number, block_timestamp as timestamp, coinbase_param as i
64
69
FROM `bigquery-public-data.crypto_litecoin.transactions`
65
70
JOIN `bigquery-public-data.crypto_litecoin.blocks` ON `bigquery-public-data.crypto_litecoin.transactions`.block_number = `bigquery-public-data.crypto_litecoin.blocks`.number
66
71
WHERE is_coinbase is TRUE
67
-
AND timestamp > '2018-12-31'
72
+
AND timestamp > '2018-01-01'
73
+
ORDER BY timestamp
68
74
```
69
75
70
76
### Tezos
71
77
72
78
```
73
79
SELECT level as number, timestamp, baker as reward_addresses
74
80
FROM `public-data-finance.crypto_tezos.blocks`
75
-
WHERE timestamp > '2020-12-31'
81
+
WHERE timestamp > '2018-01-01'
82
+
ORDER BY timestamp
76
83
```
77
84
78
85
### Zcash
@@ -82,7 +89,8 @@ SELECT block_number as number, block_timestamp as timestamp, coinbase_param as i
82
89
FROM `bigquery-public-data.crypto_zcash.transactions`
83
90
JOIN `bigquery-public-data.crypto_zcash.blocks` ON `bigquery-public-data.crypto_zcash.transactions`.block_number = `bigquery-public-data.crypto_zcash.blocks`.number
0 commit comments