GithubHelp home page GithubHelp logo

Comments (1)

manh-vv avatar manh-vv commented on June 1, 2024

Oops, it seems does not work with cleos client. I saw this work for me:

curl -v localhost:8880/v1/history/get_transaction -d '{"id": "D2DB81DFCB634D5FBCC380E09F9D5D1DB5CBCD8EFD3DD48CDD31024E92FFE810"}' | json_pp
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0*   Trying 127.0.0.1...
* TCP_NODELAY set
* Connected to localhost (127.0.0.1) port 8880 (#0)
> POST /v1/history/get_transaction HTTP/1.1
> Host: localhost:8880
> User-Agent: curl/7.58.0
> Accept: */*
> Content-Length: 74
> Content-Type: application/x-www-form-urlencoded
>
} [74 bytes data]
* upload completely sent off: 74 out of 74 bytes
< HTTP/1.1 200 OK
< Server: Boost.Beast/248
< Content-Type: application/octet-stream
< Access-Control-Allow-Origin: "*"
< Content-Length: 577
<
{ [577 bytes data]
100   651  100   577  100    74  32055   4111 --:--:-- --:--:-- --:--:-- 36166
* Connection #0 to host localhost left intact
{
   "error_code" : "0",
   "receipt" : {
      "receiver" : "eosio.token",
      "global_sequence" : "268",
      "abi_sequence" : 1,
      "code_sequence" : 1,
      "act_digest" : "06CC505AB5CBD71E8DD9B69602C123E54394ED3D65DFAE350460A69BF74892E6",
      "recv_sequence" : "1"
   },
   "receiver" : "eosio.token",
   "context_free" : false,
   "creator_action_ordinal" : 0,
   "block_num" : 248,
   "action_ordinal" : 1,
   "except" : "",
   "transaction_status" : 0,
   "action" : {
      "name" : "create",
      "account" : "eosio.token",
      "data" : "0000000000EA30550080F420E6B500000443415400000000"
   },
   "elapsed" : "0",
   "console" : "",
   "transaction_id" : "D2DB81DFCB634D5FBCC380E09F9D5D1DB5CBCD8EFD3DD48CDD31024E92FFE810"
}

from history-tools.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.