mirror of
https://github.com/cerc-io/watcher-ts
synced 2025-01-27 05:20:33 +00:00
15 lines
250 B
TypeScript
15 lines
250 B
TypeScript
|
import { gql } from 'graphql-request';
|
||
|
|
||
|
export const queryEvents = gql`
|
||
|
query getEvents($blockHash: String!, $token: String!) {
|
||
|
events(blockHash: $blockHash, token: $token) {
|
||
|
event {
|
||
|
__typename
|
||
|
}
|
||
|
proof {
|
||
|
data
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
`;
|