cardano-graphql
cardano-graphql copied to clipboard
Error querying stakePools by registrationTransaction
GraphQL
stakePools(where: {registrationTransaction:{hash: {_eq: "841cca81da918feb9fa7257a34630eac95794be712ed3faae6df64f215ce25f2"}}}){
id
hash
retirements {
announcedIn{
hash
}
}
}
returns error:
"path": [
"stakePools"
],
"extensions": {
"code": "INTERNAL_SERVER_ERROR",
"exception": {
"stacktrace": [
"TypeError: Cannot read property 'type' of undefined",
" at /app/node_modules/@graphql-tools/utils/index.cjs.js:1329:61",
" at Array.forEach (<anonymous>)",
" at transformInputValue (/app/node_modules/@graphql-tools/utils/index.cjs.js:1328:28)",
" at Object.serializeInputValue (/app/node_modules/@graphql-tools/utils/index.cjs.js:1336:12)",
" at /app/node_modules/@graphql-tools/delegate/index.cjs.js:1120:114",
" at Array.forEach (<anonymous>)",
" at updateArguments (/app/node_modules/@graphql-tools/delegate/index.cjs.js:1116:22)",
" at /app/node_modules/@graphql-tools/delegate/index.cjs.js:1087:21",
" at Array.forEach (<anonymous>)",
" at /app/node_modules/@graphql-tools/delegate/index.cjs.js:1077:43"
]