But the schema says that the number input should be an int (surely this is intended to be the block height...), for one, and if you instead pass the argument hash to the query, with the hex-value hash of block, and query the number property, you get back an int as expected:
query {
ethereumBlock(hash:"0x2677dedc524bc4de6447e8996ba724ef3fe14712de2e12a81b3fa8f66b17a980") {
network,
number
}
}
This query returns the following error:
But the schema says that the number input should be an int (surely this is intended to be the block height...), for one, and if you instead pass the argument
hash
to the query, with the hex-value hash of block, and query thenumber
property, you get back an int as expected:Am I missing something here?