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

#include <monero_wallet_model.h>

Inheritance diagram for monero::monero_tx_config:
monero::serializable_struct

Public Member Functions

 monero_tx_config (const monero_tx_config &config)
 
monero_tx_config copy () const
 
rapidjson::Value to_rapidjson_val (rapidjson::Document::AllocatorType &allocator) const
 
std::vector< std::shared_ptr< monero_destination > > get_normalized_destinations () const
 
- Public Member Functions inherited from monero::serializable_struct
std::string serialize () const
 

Static Public Member Functions

static std::shared_ptr< monero_tx_configdeserialize (const std::string &config_json)
 

Public Attributes

boost::optional< std::string > m_address
 
boost::optional< uint64_t > m_amount
 
std::vector< std::shared_ptr< monero_destination > > m_destinations
 
std::vector< uint32_t > m_subtract_fee_from
 
boost::optional< std::string > m_payment_id
 
boost::optional< monero_tx_prioritym_priority
 
boost::optional< uint32_t > m_ring_size
 
boost::optional< uint64_t > m_fee
 
boost::optional< uint32_t > m_account_index
 
std::vector< uint32_t > m_subaddress_indices
 
boost::optional< uint64_t > m_unlock_time
 
boost::optional< bool > m_can_split
 
boost::optional< bool > m_relay
 
boost::optional< std::string > m_note
 
boost::optional< std::string > m_recipient_name
 
boost::optional< uint64_t > m_below_amount
 
boost::optional< bool > m_sweep_each_subaddress
 
boost::optional< std::string > m_key_image
 

Detailed Description

Configures a transaction to send, sweep, or create a payment URI.

Member Function Documentation

◆ to_rapidjson_val()

rapidjson::Value monero::monero_tx_config::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

Implements monero::serializable_struct.


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