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

The nft_info command asks the Clio server for information about the NFT being queried. More...

#include <NFTInfo.hpp>

Inheritance diagram for rpc::NFTInfoHandler:
Collaboration diagram for rpc::NFTInfoHandler:

Classes

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

Public Types

using Result = HandlerReturnType<Output>

Public Member Functions

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

Friends

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

Detailed Description

The nft_info command asks the Clio server for information about the NFT being queried.

For more details see: https://xrpl.org/nft_info.html

Constructor & Destructor Documentation

◆ NFTInfoHandler()

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

Construct a new NFTInfoHandler object.

Parameters
sharedPtrBackendThe backend to use

Member Function Documentation

◆ process()

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

Process the NFTInfo 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,
NFTInfoHandler::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/NFTInfo.hpp
  • /__w/clio/clio/src/rpc/handlers/NFTInfo.cpp