Created
January 25, 2019 07:39
-
-
Save allenday/b0817265e94a36be69e51a1866cc9fd7 to your computer and use it in GitHub Desktop.
Find zero-fee Bitcoin transactions
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SELECT | |
ROUND((input_value - output_value)/ size, 0) AS fees_per_byte, | |
COUNT(*) AS txn_cnt | |
FROM | |
`bigquery-public-data.crypto_bitcoin.transactions` | |
WHERE TRUE | |
AND block_timestamp >= '2018-01-01' | |
AND is_coinbase IS FALSE | |
GROUP BY 1 |
Gribito0315
commented
Jun 26, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment