Contains common functionality for handling the nft_offers command.
More...
#include <NFTOffersCommon.hpp>
|
| struct | Output |
| | A struct to hold the output data of the command. More...
|
|
|
static constexpr auto | kLimitMin = rpc::spec::handlers::nft_offers_common::kLimitMin |
|
static constexpr auto | kLimitMax = rpc::spec::handlers::nft_offers_common::kLimitMax |
|
static constexpr auto | kLimitDefault = rpc::spec::handlers::nft_offers_common::kLimitDefault |
|
| Result | iterateOfferDirectory (Input input, xrpl::uint256 const &tokenID, xrpl::Keylet const &directory, boost::asio::yield_context yield) const |
| | Iterate the NFT offer directory.
|
Contains common functionality for handling the nft_offers command.
◆ NFTOffersHandlerBase()
| rpc::NFTOffersHandlerBase::NFTOffersHandlerBase |
( |
std::shared_ptr< BackendInterface > | sharedPtrBackend | ) |
|
|
inline |
◆ iterateOfferDirectory()
| NFTOffersHandlerBase::Result rpc::NFTOffersHandlerBase::iterateOfferDirectory |
( |
Input | input, |
|
|
xrpl::uint256 const & | tokenID, |
|
|
xrpl::Keylet const & | directory, |
|
|
boost::asio::yield_context | yield ) const |
|
nodiscardprotected |
Iterate the NFT offer directory.
- Parameters
-
| input | The input data for the command |
| tokenID | The tokenID of the NFT |
| directory | The directory to iterate |
| yield | The coroutine context |
- Returns
- The result of the iteration
◆ tag_invoke
Convert the Output to a JSON object.
- Parameters
-
| [out] | jv | The JSON object to convert to |
| output | The output to convert |
The documentation for this class was generated from the following files:
- /__w/clio/clio/src/rpc/handlers/NFTOffersCommon.hpp
- /__w/clio/clio/src/rpc/handlers/NFTOffersCommon.cpp