Clio  develop
The XRP Ledger API server.
Loading...
Searching...
No Matches
etl::model::Transaction Struct Reference

Represents a single transaction on the ledger. More...

#include <Models.hpp>

Public Member Functions

bool operator== (Transaction const &other) const
 Compares Transaction objects to each other without considering sttx and meta fields.

Public Attributes

std::string raw
 Raw serialized transaction blob.
std::string metaRaw
 Raw serialized transaction metadata blob.
xrpl::STTx sttx
 Deserialized transaction.
xrpl::TxMeta meta
 Deserialized transaction metadata.
xrpl::uint256 id
 Transaction hash.
std::string key
 The above id as a string of 32 raw bytes.
xrpl::TxType type
 Transaction type.

Detailed Description

Represents a single transaction on the ledger.

Member Function Documentation

◆ operator==()

bool etl::model::Transaction::operator== ( Transaction const & other) const
inline

Compares Transaction objects to each other without considering sttx and meta fields.

Parameters
otherThe Transaction to compare to
Returns
true if transaction is equivalent; false otherwise

The documentation for this struct was generated from the following file: