Represents a transaction and its metadata bundled together.
More...
#include <Types.hpp>
|
| | TransactionAndMetadata (Blob transaction, Blob metadata, std::uint32_t ledgerSequence, std::uint32_t date) |
| | Construct a new Transaction And Metadata object.
|
| | TransactionAndMetadata (std::tuple< Blob, Blob, std::uint32_t, std::uint32_t > data) |
| | Construct a new Transaction And Metadata object.
|
| bool | operator== (TransactionAndMetadata const &other) const |
| | Check if the transaction and metadata are the same as another.
|
|
|
Blob | transaction |
|
Blob | metadata |
|
std::uint32_t | ledgerSequence = 0 |
|
std::uint32_t | date = 0 |
Represents a transaction and its metadata bundled together.
◆ TransactionAndMetadata() [1/2]
| data::TransactionAndMetadata::TransactionAndMetadata |
( |
Blob | transaction, |
|
|
Blob | metadata, |
|
|
std::uint32_t | ledgerSequence, |
|
|
std::uint32_t | date ) |
|
inline |
Construct a new Transaction And Metadata object.
- Parameters
-
| transaction | The transaction |
| metadata | The metadata |
| ledgerSequence | The ledger sequence |
| date | The date |
◆ TransactionAndMetadata() [2/2]
| data::TransactionAndMetadata::TransactionAndMetadata |
( |
std::tuple< Blob, Blob, std::uint32_t, std::uint32_t > | data | ) |
|
|
inline |
Construct a new Transaction And Metadata object.
- Parameters
-
| data | The data to construct from |
◆ operator==()
Check if the transaction and metadata are the same as another.
- Parameters
-
| other | The other transaction and metadata |
- Returns
- true if they are the same; false otherwise
The documentation for this struct was generated from the following file: