Comments (3)
Could you please share the encoded hex of this response, or another response with the encoded hex pair?
from eos-go.
@psy2848048 I don't sadly, this was taken from #187 which I did not do myself.
Some transaction would need to be pushed to a testnet to see the actual response and the hex version of it.
from eos-go.
The format has even changed again :) i have attached below the json returned:
{
"transaction_id": "de46081fa7abad65cb6e6ad65581f8853e4ffd9a60466467a2bedd99bb0a320f",
"processed": {
"id": "de46081fa7abad65cb6e6ad65581f8853e4ffd9a60466467a2bedd99bb0a320f",
"block_num": 211131824,
"block_time": "2023-04-14T06:19:25.000",
"producer_block_id": null,
"receipt": {
"status": "executed",
"cpu_usage_us": 416,
"net_usage_words": 17
},
"elapsed": 416,
"net_usage": 136,
"scheduled": false,
"action_traces": [
{
"action_ordinal": 1,
"creator_action_ordinal": 0,
"closest_unnotified_ancestor_action_ordinal": 0,
"receipt": {
"receiver": "eosio.token",
"act_digest": "3c815606b2be40db3d8705e031830e919fc46544d29a3b8edea7e7ee84b118c6",
"global_sequence": 438034461,
"recv_sequence": 8529839,
"auth_sequence": [
[
"hhtest111111",
141
]
],
"code_sequence": 1,
"abi_sequence": 1
},
"receiver": "eosio.token",
"act": {
"account": "eosio.token",
"name": "transfer",
"authorization": [
{
"actor": "hhtest111111",
"permission": "active"
}
],
"data": {
"from": "hhtest111111",
"to": "hhtest111112",
"quantity": "0.00001000 WAX",
"memo": "test"
},
"hex_data": "1042082164ac726b2042082164ac726be80300000000000008574158000000000474657374"
},
"context_free": false,
"elapsed": 187,
"console": "",
"trx_id": "de46081fa7abad65cb6e6ad65581f8853e4ffd9a60466467a2bedd99bb0a320f",
"block_num": 211131824,
"block_time": "2023-04-14T06:19:25.000",
"producer_block_id": null,
"account_ram_deltas": [],
"except": null,
"error_code": null,
"return_value_hex_data": ""
},
{
"action_ordinal": 2,
"creator_action_ordinal": 1,
"closest_unnotified_ancestor_action_ordinal": 1,
"receipt": {
"receiver": "hhtest111111",
"act_digest": "3c815606b2be40db3d8705e031830e919fc46544d29a3b8edea7e7ee84b118c6",
"global_sequence": 438034462,
"recv_sequence": 103,
"auth_sequence": [
[
"hhtest111111",
142
]
],
"code_sequence": 1,
"abi_sequence": 1
},
"receiver": "hhtest111111",
"act": {
"account": "eosio.token",
"name": "transfer",
"authorization": [
{
"actor": "hhtest111111",
"permission": "active"
}
],
"data": {
"from": "hhtest111111",
"to": "hhtest111112",
"quantity": "0.00001000 WAX",
"memo": "test"
},
"hex_data": "1042082164ac726b2042082164ac726be80300000000000008574158000000000474657374"
},
"context_free": false,
"elapsed": 12,
"console": "",
"trx_id": "de46081fa7abad65cb6e6ad65581f8853e4ffd9a60466467a2bedd99bb0a320f",
"block_num": 211131824,
"block_time": "2023-04-14T06:19:25.000",
"producer_block_id": null,
"account_ram_deltas": [],
"except": null,
"error_code": null,
"return_value_hex_data": ""
},
{
"action_ordinal": 3,
"creator_action_ordinal": 1,
"closest_unnotified_ancestor_action_ordinal": 1,
"receipt": {
"receiver": "hhtest111112",
"act_digest": "3c815606b2be40db3d8705e031830e919fc46544d29a3b8edea7e7ee84b118c6",
"global_sequence": 438034463,
"recv_sequence": 94,
"auth_sequence": [
[
"hhtest111111",
143
]
],
"code_sequence": 1,
"abi_sequence": 1
},
"receiver": "hhtest111112",
"act": {
"account": "eosio.token",
"name": "transfer",
"authorization": [
{
"actor": "hhtest111111",
"permission": "active"
}
],
"data": {
"from": "hhtest111111",
"to": "hhtest111112",
"quantity": "0.00001000 WAX",
"memo": "test"
},
"hex_data": "1042082164ac726b2042082164ac726be80300000000000008574158000000000474657374"
},
"context_free": false,
"elapsed": 11,
"console": "",
"trx_id": "de46081fa7abad65cb6e6ad65581f8853e4ffd9a60466467a2bedd99bb0a320f",
"block_num": 211131824,
"block_time": "2023-04-14T06:19:25.000",
"producer_block_id": null,
"account_ram_deltas": [],
"except": null,
"error_code": null,
"return_value_hex_data": ""
}
],
"account_ram_delta": null,
"except": null,
"error_code": null
}
}
I executed this with: raw, err := api.PushTransactionRaw(context.Background(), packedTrx)
against our testserver (v3.1.1wax01)
Can we do anything about this? i could update the structs, but do we break older versions?
from eos-go.
Related Issues (20)
- run demo code ,an error happend when download streamingfast HOT 1
- Got an error when trying to import PVT_K1 format private key HOT 17
- how to push actions with raw json data? HOT 2
- {"code":500,"message":"Internal Service Error","error":{"code":3050003,"name":"eosio_assert_message_exception","what":"eosio_assert_message assertion failure","details":[{"message":"assertion failure with message: Cannot wear this item at the moment","file":"cf_system.cpp","line_number":14,"method":"eosio_assert"}]}} HOT 1
- get_actions result unmarsha into Go struct ActionsResp error
- The "next_key" field is missing in the GetTable rows API response HOT 2
- How to implement custom actions ,How to get serializetransaction,(PVT_K1 )Unable to verify, output public key does not match HOT 1
- (PVT_K1 )Unable to verify, output public key does not match HOT 5
- How to get serializetransaction?eosjs: api.serializeTransaction(sTransaction) HOT 1
- How to implement custom actions? HOT 1
- How to use the symbol is wax or other, and there are digits
- How to be a maintainer with merge permission HOT 3
- Pack action data issue after compiling contract with the Leap CDT 3.0.1 HOT 5
- Transaction Signing Issue with Custom Variant Definition HOT 8
- ecc.PublicKey is not string HOT 6
- /get_block does not get to the previous blocks HOT 2
- Calling a smart contract action HOT 2
- ecc privatekey signature error HOT 2
- There should be a powerup update for calculations. 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 eos-go.