watcher-ts/packages/graph-test-watcher/src/gql/queries/eventsInRange.gql
2021-12-28 16:08:05 +05:30

28 lines
564 B
GraphQL

query eventsInRange($fromBlockNumber: Int!, $toBlockNumber: Int!){
eventsInRange(fromBlockNumber: $fromBlockNumber, toBlockNumber: $toBlockNumber){
block{
cid
hash
number
timestamp
parentHash
}
tx{
hash
index
from
to
}
contract
eventIndex
event{
... on TestEvent {
param1
param2
}
}
proof{
data
}
}
}