Query height in blockchains
Returns one block on Ethereum, BNB Chain, Bitcoin and Dash, where date since 2021-06-17, sorted by height, highest first: height and timestamp time.
What it returns
- height
- timestamp time
Filters
- date since 2021-06-17
The query
query(
$date: ISO8601DateTime
) {
ethereum {
blocks(date: {since: $date}
options: {desc: "height" limit: 1}
){
height
timestamp {
time
}
}
}
bsc: ethereum(network: bsc) {
blocks(date: {since: $date}
options: {desc: "height" limit: 1}
){
height
timestamp {
time
}
}
}
bitcoin(network: bitcoin) {
blocks(date: {since: $date}
options: {desc: "height" limit: 1}
){
height
timestamp {
time
}
}
}
dash: bitcoin(network: dash) {
blocks(date: {since: $date}
options: {desc: "height" limit: 1}
){
height
timestamp {
time
}
}
}
}
Variables
{ "date": "2021-06-17"}
Similar queries
- EVM Blocks · Ethereum · Blocks
- test b count · Ethereum · Blocks
- test test · Ethereum · Blocks
- optimised historical balance · Ethereum · BalanceUpdates
- MyQuery EVM · Ethereum · Blocks