mirror of
https://github.com/cerc-io/watcher-ts
synced 2025-04-15 19:51:16 +00:00
28 lines
564 B
GraphQL
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
|
|
}
|
|
}
|
|
} |