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

Handler for the nfts_by_issuer command. More...

#include <NFTsByIssuer.hpp>

Inheritance diagram for rpc::NFTsByIssuerHandler:
Collaboration diagram for rpc::NFTsByIssuerHandler:

Classes

struct  Output
 A struct to hold the output data of the command. More...

Public Types

using Result = HandlerReturnType<Output>

Public Member Functions

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

Static Public Attributes

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

Friends

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

Detailed Description

Handler for the nfts_by_issuer command.

Constructor & Destructor Documentation

◆ NFTsByIssuerHandler()

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

Construct a new NFTsByIssuerHandler object.

Parameters
sharedPtrBackendThe backend to use

Member Function Documentation

◆ process()

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

Process the NFTsByIssuer command.

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

◆ tag_invoke

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

Convert the Output to a JSON object.

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

The documentation for this class was generated from the following files:
  • /__w/clio/clio/src/rpc/handlers/NFTsByIssuer.hpp
  • /__w/clio/clio/src/rpc/handlers/NFTsByIssuer.cpp