We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I'd like to be able to sort by usdc price.
EDIT: Please let me know if this is the correct place for this request.
I am using React w/ the graphql apollo client to query -> https://api.zora.co/graphql
here is my full query: (It's exactly what I want, except that I cannot have the sortKey be USDC_PRICE since it's not part of the SaleSortKey enum.)
query TopPurchaseForAnAddress($userAddress : String!) { sales(where: {buyerAddresses: [$userAddress] }, filter: {priceFilter:{minimumChainTokenPrice:"0.000000001"}}, sort: {sortKey: CHAIN_TOKEN_PRICE, sortDirection: DESC}, pagination: {limit: 100}) { nodes { sale { price { usdcPrice { decimal } nativePrice { decimal currency { name } } } buyerAddress transactionInfo { transactionHash } } token { name tokenId tokenContract { name } } } } }
The text was updated successfully, but these errors were encountered:
I realize im using the api and not the zdk. but I didn't know where to put a request for this new sort option to be added to the api.
Sorry, something went wrong.
No branches or pull requests
I'd like to be able to sort by usdc price.
EDIT: Please let me know if this is the correct place for this request.
I am using React w/ the graphql apollo client to query -> https://api.zora.co/graphql
here is my full query:
(It's exactly what I want, except that I cannot have the sortKey be USDC_PRICE since it's not part of the SaleSortKey enum.)
The text was updated successfully, but these errors were encountered: