Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Market Collections By Queries as Deprecated #779

Open
kristianeboe opened this issue Sep 22, 2022 · 1 comment
Open

Market Collections By Queries as Deprecated #779

kristianeboe opened this issue Sep 22, 2022 · 1 comment

Comments

@kristianeboe
Copy link
Contributor

kristianeboe commented Sep 22, 2022

Goal

Mark CollectionsByVolumeQuery and CollectionsByMarketCapQuery as deprecated with a note to use collectionTrends.

Description

query CollectionsByVolumeQuery(
  $term: String
  $startDate: DateTimeUtc!
  $endDate: DateTimeUtc!
  $orderDirection: OrderDirection!
  $limit: Int!
  $offset: Int!
) {
  collectionsFeaturedByVolume(
    term: $term
    startDate: $startDate
    endDate: $endDate
    orderDirection: $orderDirection
    limit: $limit
    offset: $offset
  ) {
    floorPrice
    nftCount
    volumeTotal
    holderCount
    nft {
      address
      mintAddress
      name
      image
    }
  }
}

query CollectionsByMarketCapQuery(
  $term: String
  $startDate: DateTimeUtc!
  $endDate: DateTimeUtc!
  $orderDirection: OrderDirection!
  $limit: Int!
  $offset: Int!
) {
  collectionsFeaturedByMarketCap(
    term: $term
    startDate: $startDate
    endDate: $endDate
    orderDirection: $orderDirection
    limit: $limit
    offset: $offset
  ) {
    floorPrice
    nftCount
    volumeTotal
    holderCount
    nft {
      address
      mintAddress
      name
      image
    }
  }
}

@kespinola
Copy link
Contributor

These queries should be marked as deprecated now that collectionTrends exists.

@kespinola kespinola changed the title Make use of the new "Collection Trends" table in existing gql queries that fetch collections data Market Collections By Queries as Deprecated Sep 30, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants