kodadot/nft-gallery

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

Summary

Maintainability
Test Coverage
query highestOfferByNftId($id: String!) {
  offers(where: {status_eq: ACTIVE, desired: {id_eq: $id}}, orderBy: price_DESC, limit: 1) {
    expiration
    status
    price
    id
  }
}