watcher-ts/packages/uni-watcher/src/queries.ts

15 lines
250 B
TypeScript
Raw Normal View History

import { gql } from 'graphql-request';
export const queryEvents = gql`
query getEvents($blockHash: String!, $token: String!) {
events(blockHash: $blockHash, token: $token) {
event {
__typename
}
proof {
data
}
}
}
`;