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

The nft_buy_offers method returns a list of buy offers for a given NFToken object. More...

#include <NFTBuyOffers.hpp>

Inheritance diagram for rpc::NFTBuyOffersHandler:
Collaboration diagram for rpc::NFTBuyOffersHandler:

Public Member Functions

 NFTBuyOffersHandler (std::shared_ptr< BackendInterface > const &sharedPtrBackend)
 Construct a new NFTBuyOffersHandler object.
 
Result process (Input input, Context const &ctx) const
 Process the NFTBuyOffers command.
 
- Public Member Functions inherited from rpc::NFTOffersHandlerBase
 NFTOffersHandlerBase (std::shared_ptr< BackendInterface > const &sharedPtrBackend)
 Construct a new NFTOffersHandlerBase object.
 

Additional Inherited Members

- Public Types inherited from rpc::NFTOffersHandlerBase
using Result = HandlerReturnType<Output>
 
- Static Public Member Functions inherited from rpc::NFTOffersHandlerBase
static RpcSpecConstRef spec (uint32_t apiVersion)
 Returns the API specification for the command.
 
- Static Public Attributes inherited from rpc::NFTOffersHandlerBase
static constexpr auto kLIMIT_MIN = 50
 
static constexpr auto kLIMIT_MAX = 500
 
static constexpr auto kLIMIT_DEFAULT = 250
 
- Protected Member Functions inherited from rpc::NFTOffersHandlerBase
Result iterateOfferDirectory (Input input, ripple::uint256 const &tokenID, ripple::Keylet const &directory, boost::asio::yield_context yield) const
 Iterate the NFT offer directory.
 

Detailed Description

The nft_buy_offers method returns a list of buy offers for a given NFToken object.

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

Constructor & Destructor Documentation

◆ NFTBuyOffersHandler()

rpc::NFTBuyOffersHandler::NFTBuyOffersHandler ( std::shared_ptr< BackendInterface > const & sharedPtrBackend)
inline

Construct a new NFTBuyOffersHandler object.

Parameters
sharedPtrBackendThe backend to use

Member Function Documentation

◆ process()

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

Process the NFTBuyOffers command.

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

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