queries/subsquid/rmrk/nftListWithSearch.graphql
#import "../../fragments/nft.graphql"
#import "../../fragments/nftDetails.graphql"
#import "../../fragments/baseMeta.graphql"
query nftListWithSearch(
$first: Int!
$offset: Int
$denyList: [String!]
$search: [NFTEntityWhereInput!]
$orderBy: [NFTEntityOrderByInput!] = [blockNumber_DESC]
) {
nFTEntities: nftEntities(
orderBy: $orderBy
limit: $first
offset: $offset
where: {
burned_eq: false
issuer_not_in: $denyList
metadata_not_eq: ""
AND: $search
}
) {
...nft
...nftDetails
collection {
id
name
floorPrice: nfts(
where: { burned_eq: false, price_gt: "0" }
orderBy: price_ASC
limit: 1
) {
price
}
}
meta {
...baseMeta
}
}
nftEntitiesConnection(
where: {
burned_eq: false
issuer_not_in: $denyList
metadata_not_eq: ""
AND: $search
}
orderBy: blockNumber_DESC
) {
totalCount
}
}