Blocks GraphQL queries
694 public GraphQL queries that read blocks, saved by 203 authors and ready to run in the Bitquery IDE: on Ethereum (228), Solana (71), BNB Chain (65), Bitcoin (61) and Arbitrum (39).
Blocks on Ethereum
- Your First Query – Returns blocks on Ethereum: count.
- Last eth archive – Returns blocks on Ethereum: block time.
- Latest Blocks – Returns the latest 10 blocks on Ethereum, where block date till 2023-12-28 and block date since 2023-12-21: coinbase, block time, tx count, block number, block hash, gas used, tx hash and 2 more fields.
- Top holders – Returns one token holder on Ethereum, sorted by balance amount, highest first: holder address, balance amount, currency symbol, currency name, smart contract and chain ID.
- get block height from timestamp – Returns blocks on Ethereum, where block time after 2024-03-06 and block time before 2024-03-06: block number and block time.
Blocks on Solana
- Solana transaction failure rate – Returns one transaction on Solana, sorted by block height: count, block time and block height.
- Ticket_940_Solana_Missing_block – Returns blocks on Solana, where height is 122739137 and height is 122989136: date date.
- Solana block websocket – Streams blocks on Solana as they happen: slot, block hash, tx count, block time, block height, parent slot and rewards count.
- Solana DEXs Trade VolumeIII – Solana DEXs
- Solana Latest block time – Returns one block on Solana, sorted by height, highest first: second and height.
Blocks on BNB Chain
- Real Time Blocks Subscription | BSC – Streams blocks on BNB Chain as they happen: block number.
- BLOCKS – Returns the latest block on Ethereum and BNB Chain, where time after 2023-03-27: timestamp time and height.
- Latest 500 Blocks BSC – Returns 500 blocks on Ethereum and BNB Chain, where date since 2022-07-27 and date till 2022-08-03, sorted by height, highest first: timestamp time, height, transaction count, miner address, annotation, reward and reward currency symbol.
- query_bsc_archive_block_count_ – Returns blocks on BNB Chain: count.
- bsc_slow_query – Returns 25000 transfers and blocks on BNB Chain, where transfer sender is 0x1ab4…8f23, 0xc882…f071 or 57 more, transfer receiver is 0x1ab4…8f23, 0xc882…f071 or 57 more and currency smart contract is 0x, 0xbb4c…095c or 4 more: sender, receiver, smart contract, currency name, currency symbol, unique o
Blocks on Bitcoin
- Bitcoin Difficulty – Returns blocks on Bitcoin, where date after 2016-01-01: date date and difficulty.
- get_latest_btc_blk – Returns blocks on Bitcoin: count big int.
- Bitcoin Blocks By Height – Returns 5 blocks on Bitcoin, sorted by height, highest first: height, block hash, transaction count and date date.
- bitcoin blocks with txn count – Returns blocks on Bitcoin, where date since 2024-07-01: height, block hash and transaction count.
- bitcoin_blocks – Returns blocks on Bitcoin, where date is 2026-01-13: block hash, block size, block size big int, block stripped size, block version, block weight, chainwork and 5 more fields.
Blocks on Arbitrum
- Balance holder stats – Returns one token holder on Arbitrum, where holder address is not 0x and balance amount is above 0: last date, count, sum of balance amount, gini of balance amount, nakamoto of balance amount, currency name, currency symbol and chain ID.
- Latest Blocks – Returns the latest 10 blocks on Arbitrum, where block date till 2023-08-16 and block date since 2023-08-01: coinbase, block time, tx count, block number, block hash and chain ID.
- arbitrum_block – Returns blocks on Arbitrum: block number.
- Query ARB – Returns blocks on Arbitrum: count.
- Arbitrum smoke test – Returns blocks on Arbitrum: count, unique of block number and block number.