kodadot/nft-gallery

View on GitHub
queries/rmrk/subsquid/collectionsEvents.graphql

Summary

Maintainability
Test Coverage
query collectionsEvents($ids: [String!], $and: [EventWhereInput!], $gte: DateTime!, $lte: DateTime!) {
  events(where: {
    nft: {burned_eq: false, collection: { id_in: $ids }}, AND: $and
    timestamp_gt:$gte, timestamp_lte: $lte
    }) {
    nft {
      collection {
        id
      }
    }
    timestamp
  }
}