cardano-graphql icon indicating copy to clipboard operation
cardano-graphql copied to clipboard

the query is mutation submitTransaction( $transaction: String! ) { submitTransaction(transaction: $transaction) { hash } } OperationRequiresSyncedNode: Cannot submitTransaction until cardano-node is close to the network tip}]

Open malingzhao opened this issue 3 years ago • 2 comments

Environment

The CLI can be used to gather generic information about your system to assist with support. No installation is required thanks to npx

npx @cardano-graphql/cli system-info

[PASTE_REPORT_HERE]

Alternatively, what release or Git revision are you using:

Platform

  • [ ] Linux / Ubuntu
  • [ ] Linux / Other
  • [ ] macOS
  • [ ] Windows

Platform version:

Runtime

  • [ ] Node.js
  • [ ] Docker

Runtime version:

node -v
docker version

Steps to reproduce the bug

What is the expected behavior?

malingzhao avatar Dec 25 '21 06:12 malingzhao

Based on the message your node is not in sync with the network: Cannot submitTransaction until cardano-node is close to the network tip. How long have you left it to sync and are you able to run this query?

{cardanoDbMeta{initialized syncPercentage}}

It should return this result:

{
  "data": {
    "cardanoDbMeta": {
      "initialized": true,
      "syncPercentage": 100
    }
  }
}

CyberCyclone avatar Jan 04 '22 23:01 CyberCyclone

I've faced with the same error on https://graphql-api.testnet.dandelion.link/

mahnunchik avatar Feb 21 '22 11:02 mahnunchik