|
xrpld
|
Result of a transaction submission in TxTest. More...
#include <TxTest.h>

Public Attributes | |
| TER | ter |
| The transaction engine result code. | |
| bool | applied |
| Whether the transaction was applied to the ledger. | |
| std::optional< TxMeta > | metadata |
| Transaction metadata, if available. | |
| std::shared_ptr< STTx const > | tx |
| Pointer to the submitted transaction. | |
Result of a transaction submission in TxTest.
Contains the TER code, whether the transaction was applied, optional metadata, and a reference to the submitted transaction. Use standard gtest macros (EXPECT_EQ, EXPECT_TRUE, etc.) to verify results.
| TER xrpl::test::TxResult::ter |
| bool xrpl::test::TxResult::applied |
| std::optional<TxMeta> xrpl::test::TxResult::metadata |
Transaction metadata, if available.
| std::shared_ptr<STTx const> xrpl::test::TxResult::tx |