nba-smart-contracts
nba-smart-contracts copied to clipboard
GraphQL issue - getMintedMoments
We have been using the GraphQL endpoint to make queries for data on Top Shot for a while and one of the queries we were running seems like it stopped working.
getMintedMoments
https://developers.nbatopshot.com/docs/GraphQL/queries/get-minted-moments
I tried running the query on postman as well and we're constantly getting null results:
{
"data": {
"getMintedMoments": {
"data": [
null
]
}
}
}
Here is my query, which we supply an array of moment Ids:
query getMomentMedia($momentIds: [ID!]!) {
getMintedMoments(input: { momentIds: $momentIds }) {
data {
id
set {
flowName
assetPath
}
flowId
forSale
flowSerialNumber
tier
setPlay {
flowRetired
circulations {
circulationCount
}
}
play {
stats {
playType
}
headline
shortDescription
description
assets {
images {
url
}
videos {
url
}
}
}
}
}
}