Created
February 21, 2024 17:46
-
-
Save charles-tan/746ee763348bc1410c3737d17859e74e to your computer and use it in GitHub Desktop.
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
CREATE STREAM eth_txns_filtered AS | |
SELECT | |
"txn_hash", | |
"block_ts", | |
"blockNumber", | |
"maxPriorityFeePerGas", | |
"gas" | |
FROM eth_txns WITH ('source.deserialization.error.handling'='IGNORE') | |
WHERE "maxPriorityFeePerGas" > 100 AND "maxPriorityFeePerGas" < "maxFeePerGas"; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment