erigon-pulse/cmd/rpcdaemon/graphql/query_block.graphql
Stéphane Loeuillet 195a72bf74
Initial GraphQL interface implementation (#6821)
That's an initial PR mostly for code review, not ready for production
use

Got basic GraphQL working when querying a single block

---------

Co-authored-by: Alex Sharov <AskAlexSharov@gmail.com>
2023-02-20 11:23:06 +00:00

58 lines
647 B
GraphQL

{
block(number: 10000000) {
number
difficulty
extraData
gasLimit
gasUsed
logsBloom
ommerHash
ommers {
hash
}
miner {
address
}
mixHash
nonce
hash
parent {
hash
}
receiptsRoot
stateRoot
timestamp
transactionsRoot
totalDifficulty
transactions {
createdContract {
address
}
cumulativeGasUsed
from {
address
}
gasUsed
gasPrice
inputData
nonce
index
value
logs {
account {
address
}
data
index
topics
}
hash
index
to {
address
}
status
}
}
}