mirror of
https://gitlab.com/pulsechaincom/erigon-pulse.git
synced 2024-12-23 12:07:17 +00:00
195a72bf74
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>
58 lines
647 B
GraphQL
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
|
|
}
|
|
}
|
|
}
|