graph
.request(
"https://api.highlight.xyz:8080/",
graph.gql`
query GetPublicCollectionByWalletAddress( $walletAddress: String!) {
getPublicCollectionsByWallet(walletAddress: $walletAddress) {
collections {
id
address
name
type
collectionType
symbol
chainId
contractId
status
baseUri
description
seriesTokens (first: 500) {
edges {
id
tokenId
name
ownerAddress
attributes {
name
value
__typename
}
imageUrl
animationUrl
minted
__typename
}
pageInfo {
endCursor
totalCount
__typename
}
__typename
}
seriesDetails {
coverImage
logoUrl
__typename
}
generativeDetails {
logoUrl
__typename
}
seriesImages {
urls
coverImageUrl
__typename
}
editions {
name
description
image
size
onChainImage
animation
__typename
}
mintVectors {
id
stats {
total
__typename
}
__typename
}
__typename
}
__typename
}
}
`,
{
walletAddress: "0x3F870D006185Cb649c3261013fd86Cc89b762f1E"
}
)
.then((r) => r)