mirror of
https://github.com/bigchaindb/bigchaindb.git
synced 2024-10-13 13:34:05 +00:00
Fixed documentation about transactions endpoint. (#1360)
* Fixed documentation about transactions endpoint. * clarify how bigchaindb handles invalid transactions * rephrase
This commit is contained in:
@@ -46,8 +46,12 @@ Transactions
|
||||
|
||||
Get the transaction with the ID ``tx_id``.
|
||||
|
||||
This endpoint returns a transaction only if a ``VALID`` block on
|
||||
``bigchain`` exists.
|
||||
This endpoint returns a transaction if it was included in a ``VALID`` block,
|
||||
if it is still waiting to be processed (``BACKLOG``) or is still in an
|
||||
undecided block (``UNDECIDED``). All instances of a transaction in invalid
|
||||
blocks are ignored and treated as if they don't exist. If a request is made
|
||||
for a transaction and instances of that transaction are found only in
|
||||
invalid blocks, then the response will be ``404 Not Found``.
|
||||
|
||||
:param tx_id: transaction ID
|
||||
:type tx_id: hex string
|
||||
|
||||
Reference in New Issue
Block a user