kodadot/nft-gallery

View on GitHub
queries/subsquid/general/countOfNfts.graphql

Summary

Maintainability
Test Coverage
query countOfNfts(
  $where: NFTEntityWhereInput!
  $denyList: [String!]
) {
  count: nftEntitiesConnection(
    where: {
        AND: [
            {
              burned_eq: false
              issuer_not_in: $denyList
            },
            $where
        ]
    }
    orderBy: blockNumber_DESC
  ) {
    totalCount
  }
}