Clio  develop
The XRP Ledger API server.
Loading...
Searching...
No Matches
rpc::AccountMPTokenIssuancesHandler Class Reference

The account_mptoken_issuances method returns information about all MPTokenIssuance objects the account has created. More...

#include <AccountMPTokenIssuances.hpp>

Inheritance diagram for rpc::AccountMPTokenIssuancesHandler:
Collaboration diagram for rpc::AccountMPTokenIssuancesHandler:

Classes

struct  MPTokenIssuanceResponse
 A struct to hold data for one MPTokenIssuance response. More...
struct  Output
 A struct to hold the output data of the command. More...

Public Types

using Result = HandlerReturnType<Output>

Public Member Functions

 AccountMPTokenIssuancesHandler (std::shared_ptr< BackendInterface > sharedPtrBackend)
 Construct a new AccountMPTokenIssuancesHandler object.
Result process (Input const &input, Context const &ctx) const
 Process the AccountMPTokenIssuances command.

Static Public Attributes

static constexpr auto kLimitMin = rpc::spec::handlers::account_mptoken_issuances::kLimitMin
static constexpr auto kLimitMax = rpc::spec::handlers::account_mptoken_issuances::kLimitMax
static constexpr auto kLimitDefault

Friends

void tag_invoke (boost::json::value_from_tag, boost::json::value &jv, AccountMPTokenIssuancesHandler::Output const &output)
 Convert the Output to a JSON object.
void tag_invoke (boost::json::value_from_tag, boost::json::value &jv, AccountMPTokenIssuancesHandler::MPTokenIssuanceResponse const &issuance)
 Convert the MPTokenIssuanceResponse to a JSON object.

Detailed Description

The account_mptoken_issuances method returns information about all MPTokenIssuance objects the account has created.

Constructor & Destructor Documentation

◆ AccountMPTokenIssuancesHandler()

rpc::AccountMPTokenIssuancesHandler::AccountMPTokenIssuancesHandler ( std::shared_ptr< BackendInterface > sharedPtrBackend)
inline

Construct a new AccountMPTokenIssuancesHandler object.

Parameters
sharedPtrBackendThe backend to use.

Member Function Documentation

◆ process()

AccountMPTokenIssuancesHandler::Result rpc::AccountMPTokenIssuancesHandler::process ( Input const & input,
Context const & ctx ) const
nodiscard

Process the AccountMPTokenIssuances command.

Parameters
inputThe input data for the command.
ctxThe context of the request.
Returns
The result of the operation.

◆ tag_invoke [1/2]

void tag_invoke ( boost::json::value_from_tag ,
boost::json::value & jv,
AccountMPTokenIssuancesHandler::MPTokenIssuanceResponse const & issuance )
friend

Convert the MPTokenIssuanceResponse to a JSON object.

Parameters
[out]jvThe JSON object to convert to
issuanceThe MPTokenIssuance response to convert

◆ tag_invoke [2/2]

void tag_invoke ( boost::json::value_from_tag ,
boost::json::value & jv,
AccountMPTokenIssuancesHandler::Output const & output )
friend

Convert the Output to a JSON object.

Parameters
[out]jvThe JSON object to convert to
outputThe output to convert

Member Data Documentation

◆ kLimitDefault

auto rpc::AccountMPTokenIssuancesHandler::kLimitDefault
staticconstexpr
Initial value:
=
rpc::spec::handlers::account_mptoken_issuances::kLimitDefault

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