30 lines
621 B
Plaintext
30 lines
621 B
Plaintext
|
query events($blockHash: String!, $contractAddress: String!, $name: String){
|
||
|
events(blockHash: $blockHash, contractAddress: $contractAddress, name: $name){
|
||
|
block{
|
||
|
cid
|
||
|
hash
|
||
|
number
|
||
|
timestamp
|
||
|
parentHash
|
||
|
}
|
||
|
tx{
|
||
|
hash
|
||
|
index
|
||
|
from
|
||
|
to
|
||
|
}
|
||
|
contract
|
||
|
eventIndex
|
||
|
event{
|
||
|
... on PairCreatedEvent {
|
||
|
token0
|
||
|
token1
|
||
|
pair
|
||
|
null
|
||
|
}
|
||
|
}
|
||
|
proof{
|
||
|
data
|
||
|
}
|
||
|
}
|
||
|
}
|