Comments (1)
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)
- catch_and_close Stream overrun HOT 9
- catch_and_close w/ Bad variant index HOT 5
- How to build this project in centos?
- action_trace in the table transaction_trace is messy code
- hex string has incorrect length & stuck at switch forks at block HOT 3
- How to decode transaction_trace.act.data v1.0.0 HOT 1
- transaction_trace.account_ram_delta in v1.0.0
- New Issue to test Automation's Github/Jira integration HOT 4
- no data in the block_info table
- No rocksdb in build. Removed from CMake HOT 3
- Performance improvement for fill-pg
- what's your plan to support eosio 2.0.x completely?
- add https server functionality HOT 2
- query descending order HOT 12
- Building on mac HOT 1
- Double Data In Table Not Unpacking Properly HOT 3
- Wasm-ql Query Lumps Strings Into Last Structs Key
- How to use it? HOT 4
- The binary link is broken
- Does the balance-snapshot example work? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from history-tools.