Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

/v1/history/get_transaction is not working #137

Open
YuXiaoCoder opened this issue Jan 12, 2023 · 0 comments
Open

/v1/history/get_transaction is not working #137

YuXiaoCoder opened this issue Jan 12, 2023 · 0 comments

Comments

@YuXiaoCoder
Copy link

I try to request the official node to get the data

curl -s -X POST -H 'Content-Type: application/json' -d '{"id": "543e68baf877c5a64efdafe176bcc5fc2923cef5f91314eacb5e6705a5e1db54"}' https://eos.hyperion.eosrio.io/v1/history/get_transaction

But my node returns the following information

curl -s -X POST -H 'Content-Type: application/json' -d '{"id": "543e68baf877c5a64efdafe176bcc5fc2923cef5f91314eacb5e6705a5e1db54"}' http://127.0.0.1:7000/v1/history/get_transaction | jq

{
  "code": 500,
  "message": "Internal Service Error",
  "error": {
    "code": 3040011,
    "name": "tx_not_found",
    "what": "The transaction can not be found",
    "details": [
      {
        "message": "Transaction 543e68baf877c5a64efdafe176bcc5fc2923cef5f91314eacb5e6705a5e1db54 not found in history and no block hint was given",
        "file": "",
        "line_number": 1,
        "method": "get_transaction"
      }
    ]
  },
  "query_time_ms": 2.608
}

who can help me, thanks you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants