non-fungible-apps/ui/graphql/queries.graphql

30 lines
393 B
GraphQL

query lastMintsPaginated($pageSize: Int, $skip: Int) {
newMints(
first: $pageSize
skip: $skip
orderDirection: desc
orderBy: tokenId
) {
id
tokenId
description
name
}
}
query totalTokens {
tokens {
id
}
}
# query to get the ens name of an address
query getENSNames($address: ID!) {
account(id: $address) {
domains {
name
}
}
}