queries/subsquid/general/allEventsByProfile.graphql
query allEventsByProfile($id: String) {
events(where: { caller_eq: $id, OR: { currentOwner_eq: $id } }) {
meta
interaction
blockNumber
timestamp
currentOwner
caller
id
nft {
id
sn
name
metadata
collection {
id
name
__typename
}
meta {
id
image
animationUrl
__typename
}
__typename
}
__typename
}
}