Monero C++ Library
Loading...
Searching...
No Matches
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
monero::monero_output_query Struct Reference

#include <monero_wallet_model.h>

Inheritance diagram for monero::monero_output_query:
monero::monero_output_wallet monero::monero_output monero::serializable_struct

Public Member Functions

rapidjson::Value to_rapidjson_val (rapidjson::Document::AllocatorType &allocator) const
 
std::shared_ptr< monero_output_querycopy (const std::shared_ptr< monero_output > &src, const std::shared_ptr< monero_output > &tgt) const
 
std::shared_ptr< monero_output_querycopy (const std::shared_ptr< monero_output_wallet > &src, const std::shared_ptr< monero_output_wallet > &tgt) const
 
std::shared_ptr< monero_output_querycopy (const std::shared_ptr< monero_output_query > &src, const std::shared_ptr< monero_output_query > &tgt) const
 
bool meets_criteria (monero_output_wallet *output, bool query_parent=true) const
 
- Public Member Functions inherited from monero::monero_output_wallet
rapidjson::Value to_rapidjson_val (rapidjson::Document::AllocatorType &allocator) const
 
std::shared_ptr< monero_output_walletcopy (const std::shared_ptr< monero_output > &src, const std::shared_ptr< monero_output > &tgt) const
 
std::shared_ptr< monero_output_walletcopy (const std::shared_ptr< monero_output_wallet > &src, const std::shared_ptr< monero_output_wallet > &tgt) const
 
void merge (const std::shared_ptr< monero_output > &self, const std::shared_ptr< monero_output > &other)
 
void merge (const std::shared_ptr< monero_output_wallet > &self, const std::shared_ptr< monero_output_wallet > &other)
 
- Public Member Functions inherited from monero::monero_output
std::shared_ptr< monero_outputcopy (const std::shared_ptr< monero_output > &src, const std::shared_ptr< monero_output > &tgt) const
 
- Public Member Functions inherited from monero::serializable_struct
std::string serialize () const
 

Static Public Member Functions

static void from_property_tree (const boost::property_tree::ptree &node, const std::shared_ptr< monero_output_query > &output_query)
 
static std::shared_ptr< monero_output_querydeserialize_from_block (const std::string &output_query_json)
 
- Static Public Member Functions inherited from monero::monero_output_wallet
static void from_property_tree (const boost::property_tree::ptree &node, const std::shared_ptr< monero_output_wallet > &output_wallet)
 
- Static Public Member Functions inherited from monero::monero_output
static void from_property_tree (const boost::property_tree::ptree &node, const std::shared_ptr< monero_output > &output)
 

Public Attributes

std::vector< uint32_t > m_subaddress_indices
 
boost::optional< uint64_t > m_min_amount
 
boost::optional< uint64_t > m_max_amount
 
boost::optional< std::shared_ptr< monero_tx_query > > m_tx_query
 
- Public Attributes inherited from monero::monero_output_wallet
boost::optional< uint32_t > m_account_index
 
boost::optional< uint32_t > m_subaddress_index
 
boost::optional< bool > m_is_spent
 
boost::optional< bool > m_is_frozen
 
- Public Attributes inherited from monero::monero_output
std::shared_ptr< monero_txm_tx
 
boost::optional< std::shared_ptr< monero_key_image > > m_key_image
 
boost::optional< uint64_t > m_amount
 
boost::optional< uint64_t > m_index
 
std::vector< uint64_t > m_ring_output_indices
 
boost::optional< std::string > m_stealth_public_key
 

Detailed Description

Configures a query to retrieve wallet outputs (i.e. outputs that the wallet has or had the ability to spend).

All outputs are returned except those that do not meet the criteria defined in this query.

Member Function Documentation

◆ to_rapidjson_val()

rapidjson::Value monero::monero_output_query::to_rapidjson_val ( rapidjson::Document::AllocatorType & allocator) const
virtual

Converts the struct to a rapidjson Value.

Parameters
allocatoris the rapidjson document allocator
Returns
the struct as a rapidjson Value

Reimplemented from monero::monero_output.


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