kodadot/nft-gallery

View on GitHub
queries/subsquid/general/buyEventByProfile.query.ts

Summary

Maintainability
A
0 mins
Test Coverage
import { graphql } from '@/queries/clients/graphqlClients'

export default graphql(`
  query buyEventByProfile($id: String) {
    events(
      where: { caller_eq: $id, interaction_eq: BUY }
      orderBy: timestamp_DESC
    ) {
      timestamp
    }
  }
`)