I’m getting this issue:
{
"data": {},
"errors": [
{
"message": "select \"contracts\".* from \"contracts\" where (\"contracts\".\"address\" in $1) and \"contracts\".\"token_fungibility_type\" is not null limit $2 - syntax error at or near \"$1\"",
"extensions": {
"code": "INTERNAL_SERVER_ERROR",
"id": "9e8cb6fc-3b09-48d0-b0dd-ffec61b0496c"
}
}
]
}
My Query:
query Contracts($filter: ContractsFilterInput, $after: String, $first: Int, $currentTimeRange: ERC721CollectionStatsInput, $_1dayTimeRange: ERC721CollectionStatsInput, $_7dayTimeRange: ERC721CollectionStatsInput) {
ethereum {
currentContract: contracts(filter: $filter, after: $after, first: $first) {
edges {
node {
address
name
… on NFTContract {
collection {
image {
url
}
bannerImage {
url
}
circulatingSupply
totalSupply
... on ERC721Collection {
stats(filter: $currentTimeRange) {
averageInNativeToken
ceilingInNativeToken
floorInNativeToken
totalSales
volumeInNativeToken
}
}
}
}
}
}
pageInfo {
hasNextPage
hasPreviousPage
startCursor
endCursor
}
}
_1dBeforeContract: contracts(filter: $filter, after: $after, first: $first) {
edges {
node {
address
name
... on NFTContract {
collection {
image {
url
}
bannerImage {
url
}
... on ERC721Collection {
stats(filter: $_1dayTimeRange) {
averageInNativeToken
ceilingInNativeToken
floorInNativeToken
totalSales
volumeInNativeToken
}
}
}
}
}
}
pageInfo {
hasNextPage
hasPreviousPage
startCursor
endCursor
}
}
_7dBeforeContract: contracts(filter: $filter, after: $after, first: $first) {
edges {
node {
address
name
... on NFTContract {
collection {
image {
url
}
bannerImage {
url
}
... on ERC721Collection {
stats(filter: $_7dayTimeRange) {
averageInNativeToken
ceilingInNativeToken
floorInNativeToken
totalSales
volumeInNativeToken
}
}
}
}
}
}
pageInfo {
hasNextPage
hasPreviousPage
startCursor
endCursor
}
}
}
}
Vars:
{
"filter": {
"address": {
"in": [
"0x81ae0be3a8044772d04f32398bac1e1b4b215aa8",
"0xb6dae651468e9593e4581705a09c10a76ac1e0c8",
"0x769272677fab02575e84945f03eca517acc544cc",
"0xc114f87326c0e07f40e73b6c9fcea54888c2c67f",
"0x1dfe7ca09e99d10835bf73044a23b73fc20623df"
]
}
},
"currentTimeRange": {
"timeRange": {
"gt": "2023-11-16T16:41:42.835Z",
"lte": "2023-11-17T16:41:42.835Z"
}
},
"_1dayTimeRange": {
"timeRange": {
"gt": "2023-11-15T16:41:42.835Z",
"lte": "2023-11-16T16:41:42.835Z"
}
}
}
Not sure what this token_fungibility_type
means?