Try your first query
To explore the Ethereum blocks further, the query shown retrieves specific details for a range of block numbers, from 21104078 to 21104080. The retrieval includes attributes such as the block hash, block number, nonce, base fee per gas, parent hash, miner, total difficulty, size, gas limit, gas used, and timestamp.
When querying Ethereum data, consider checking the credibility of the source, ensuring that the eth_url you utilize is from a reliable provider like Alchemy, as shown in the example. This guarantees that the data is authentic and up-to-date.
set variable eth_url = 'https://eth-mainnet.g.alchemy.com/v2/{API_KEY}';
D select * from eth_blocks_rpc(21104078, 21104080, getvariable('eth_url'));
ββββββββββββββββββββββββ¬βββββββββββ¬βββββββββββββββββββββ¬ββββββββββββββββ¬βββββββββββββββββββββββ¬βββββββββββββββββββββββ¬ββββ¬βββββββββββββββββββββββ¬βββββββββ¬βββββββββββ¬βββββββββββ¬ββββββββββββββββββββββ
β hash β number β nonce β baseFeePerGas β parentHash β miner β β¦ β totalDifficulty β size β gasLimit β gasUsed β timestamp β
β varchar β int64 β varchar β varchar β varchar β varchar β β varchar β int64 β int64 β int64 β timestamp β
ββββββββββββββββββββββββΌβββββββββββΌβββββββββββββββββββββΌββββββββββββββββΌβββββββββββββββββββββββΌβββββββββββββββββββββββΌββββΌβββββββββββββββββββββββΌβββββββββΌβββββββββββΌβββββββββββΌββββββββββββββββββββββ€
β 0x8e8d1d95a717a152β¦ β 21104078 β 0x0000000000000000 β 0xc4896b99 β 0x8ba7dba9eac3d806β¦ β 0x95222290dd7278aaβ¦ β β¦ β 0xc70d815d562d3cfaβ¦ β 102446 β 30000000 β 24390088 β 2024-11-03 02:18:23 β
β 0x10fa22bea6d33914β¦ β 21104079 β 0x0000000000000000 β 0xd3ea7b7a β 0x8e8d1d95a717a152β¦ β 0x95222290dd7278aaβ¦ β β¦ β 0xc70d815d562d3cfaβ¦ β 57087 β 30000000 β 17756256 β 2024-11-03 02:18:35 β
β 0xb50d27210ca2fffeβ¦ β 21104080 β 0x0000000000000000 β 0xd8c88d01 β 0x10fa22bea6d33914β¦ β 0x95222290dd7278aaβ¦ β β¦ β 0xc70d815d562d3cfaβ¦ β 76943 β 30000000 β 13215058 β 2024-11-03 02:18:47 β
ββββββββββββββββββββββββ΄βββββββββββ΄βββββββββββββββββββββ΄ββββββββββββββββ΄βββββββββββββββββββββββ΄βββββββββββββββββββββββ΄ββββ΄βββββββββββββββββββββββ΄βββββββββ΄βββββββββββ΄βββββββββββ΄ββββββββββββββββββββββ€
β 3 rows 12 columns (11 shown) β
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββLast updated