kodadot/nft-gallery

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

Summary

Maintainability
Test Coverage
query collectionMigrateWaiting($account: String!) {
  collectionEntities(
    where: { nfts_some: { currentOwner_eq: $account }, issuer_not_eq: $account }
  ) {
    id
    name
    currentOwner
    nfts(where: { currentOwner_eq: $account, burned_eq: false }) {
      id
    }
    metadata
    meta {
      id
      image
    }
  }
}