You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Aside from #2597, the only advantage the transaction_entry command has over the tx command is that you can use it to query for a particular transaction in a single ledger version. Adding the standard ledger-lookup options (ledger_index & ledger_hash) to the tx method would make tx's proper functionality a strict superset of transaction_entry. After doing so, we could simplify the API by removing the transaction_entry method.
If the request specifies a ledger with ledger_index / ledger_hash (or maybe even the deprecated ledger field), the tx command should query only the specified ledger. If the requested transaction hash is not included in the specified ledger, the method should return a txnNotFound error.
The text was updated successfully, but these errors were encountered:
Aside from #2597, the only advantage the
transaction_entry
command has over thetx
command is that you can use it to query for a particular transaction in a single ledger version. Adding the standard ledger-lookup options (ledger_index
&ledger_hash
) to thetx
method would maketx
's proper functionality a strict superset oftransaction_entry
. After doing so, we could simplify the API by removing thetransaction_entry
method.If the request specifies a ledger with
ledger_index
/ledger_hash
(or maybe even the deprecatedledger
field), thetx
command should query only the specified ledger. If the requested transaction hash is not included in the specified ledger, the method should return atxnNotFound
error.The text was updated successfully, but these errors were encountered: