TransactionLifecycle
Type TransactionLifecycle
Properties
Here are the fields under data
:
id
required
String
The transaction ID
transaction_status
required
String
One of_
pending
, delayed
, canceled
, expired
, executed
, soft_fail
, hard_fail
| Computed status for the transaction
transaction
required
Transaction
Standard nodeos transaction object
execution_trace
Optional
TransactionTrace
Traces of execution. In the case of a deferred transaction, you might not see execution traces
execution_block_header
Optional
BlockHeader
Standard
block_header
object for the block where the transaction got executed
creation_tree
Optional
CreationTree
Represents the creation order of actions within this transaction.
dtrxops
Optional
Array<DTrxOp>
A list of operations on deferred transactions (create, cancel…).
ramops
Optional
Array<RAMOp>
A list of operations on RAM usage, including operation, payer, delta, resulting usage.
tableops
Optional
Array<TableOp>
A list of table operations, including operation, contract account, table, scope and payer.
pub_keys
Optional
Array<PublicKey>
List of public keys used to sign the transaction.
created_by
Optional
ExtDTrxop
When querying a deferred transaction, reference to the transaction that created it.
canceled_by
Optional
ExtDTrxop
Similar to
created_by
, the reference to another transaction that has canceled this one.
execution_irreversible
Optional
Boolean
Indicates execution passed irreversibility.
creation_irreversible
Optional
Boolean
Indicates transaction creation passed irreversibility. Valid only for deferred transactions
cancelation_irreversible
Optional
Boolean
Indicates cancelation passed irreversibility. Valid only for deferred transactions.
Example Payload
{
"transaction_status":"executed",
"id": "da1abcf7e205cf410c35ba3d474fd8d854a7513d439f7f1188d186493253ed24",
"transaction": { ... "actions": [ ... ] ... },
"execution_trace": { ... },
"execution_block_header": { ... },
"creation_tree": [
...
],
"dtrxops": [
{
"op": "CREATE",
...
"trx_id": "da1abcf7e205cf410c35ba3d474fd8d854a7513d439f7f1188d186493253ed24",
"trx": { ... }
}
],
"ramops": [ ... ],
"tableops": [ ... ],
"pub_keys": [
"EOS86qtjWfMcVJjyLy4TGTybyA8xsFagJtXgwFJC1KR5o7M1ch5ms"
],
"created_by": {
"src_trx_id": "35030b5bfd05f4f5b5bcae68505bf9f2c227a84c6b406dabebe0d8cd0384cd70",
"block_num": 25870889,
"block_id": "018ac229323f3538cfde5c34f9cfcb1b2d80a4062a822c869d9eb9fcff2235db",
"op": "CREATE",
"action_idx": 0,
"sender": "eosio.msig",
...
},
"canceled_by": null,
"execution_irreversible": true,
"creation_irreversible": true,
"cancelation_irreversible": false
}
Also see this source code for reference