block error
Returns blocks on BNB Chain, where block hash is 0xdb6e…b59f and block number is 42974770: block time, block hash and block number.
What it returns
- block time
- block hash
- block number
Filters
- block hash is 0xdb6e…b59f
- block number is 42974770
The query
query MyQuery($startblockheight: String!) {
EVM(network: bsc, dataset: archive) {
startblock: Blocks(where: {Block: {Number: {eq: $startblockheight}}}) {
Block {
timefield: Time
Hash
Number
}
}
endblock: Blocks(
where: {Block: {Hash: {is: "0xdb6ef11db0f806ac6cab3f9181ad78839049b1d6362643593f4654fd819cb59f"}}}
) {
Block {
timefield2: Time
Hash
Number
}
}
}
}
Variables
{
"network": "bsc",
"startblockheight": "42974770",
"endblockheight": "44781714"
}
Similar queries
- EVM Blocks · BNB Chain · Blocks
- bsc schema ref query 2 · BNB Chain · Blocks
- AllEvmMaxBlock EVM · Ethereum · Blocks
- test save · BNB Chain · Blocks
- query_bsc_archive_block_count_ · BNB Chain · Blocks