-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #145 from eosnetworkfoundation/enfs-30-pwo-get-tra…
…nsaction-status Add get_transaction_status to chain_plugin
- Loading branch information
Showing
11 changed files
with
138 additions
and
16 deletions.
There are no files selected for viewing
35 changes: 35 additions & 0 deletions
35
docs/02_cleos/03_command-reference/get/transaction-status.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
## Description | ||
|
||
Gets current blockchain state and, if available, transaction information given the transaction id | ||
|
||
## Position Parameters | ||
|
||
- `id` _TEXT_ - The string ID of the transaction to retrieve status about (required) | ||
|
||
## Options | ||
- `-h` - --help Print this help message and exit | ||
## Example | ||
|
||
|
||
```sh | ||
cleos get transaction-status 6438df82216dfaf46978f703fb818b49110dbfc5d9b521b5d08c342277438b29 | ||
``` | ||
|
||
This command simply returns the current chain status and transaction status information (if available). | ||
|
||
```json | ||
{ | ||
"state": "IN_BLOCK", | ||
"block_number": 90, | ||
"block_id": "0000005accfd59ba80a05380f60d51687406337b2aedd28b7daa33fdb8c16b5a", | ||
"block_timestamp": "2022-04-27T16:11:26.500", | ||
"expiration": "2022-04-27T16:11:56.000", | ||
"head_number": 186, | ||
"head_id": "000000bab27da51f76f483bb629b532510c22e2eb1acc632f5b37b421adecf63", | ||
"head_timestamp": "2022-04-27T16:12:14.500", | ||
"irreversible_number": 25, | ||
"irreversible_id": "0000001922118216bc16bf2c60d950598d80af3beca820eab751f7beecdb29e4", | ||
"irreversible_timestamp": "2022-04-27T16:10:54.000", | ||
"last_tracked_block_id": "000000129cee97f3e27312f0184d52d006a470f0e620553dfb4c5b4f3c856ab2" | ||
} | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters