|
Clio
develop
The XRP Ledger API server.
|
The mpt_holders command asks the Clio server for holders of a particular MPTokenIssuance. More...
#include <MPTHolders.hpp>


Classes | |
| struct | Output |
| A struct to hold the output data of the command. More... | |
Public Types | |
| using | Result = HandlerReturnType<Output> |
Public Member Functions | |
| MPTHoldersHandler (std::shared_ptr< BackendInterface > sharedPtrBackend) | |
| Construct a new MPTHoldersHandler object. | |
| Result | process (Input const &input, Context const &ctx) const |
| Process the MPTHolders command. | |
Friends | |
| void | tag_invoke (boost::json::value_from_tag, boost::json::value &jv, MPTHoldersHandler::Output const &output) |
| Convert the Output to a JSON object. | |
The mpt_holders command asks the Clio server for holders of a particular MPTokenIssuance.
When accounts is provided, those accounts are looked up directly by keylet::mptoken instead of scanning the holder index. Duplicate accounts are collapsed in first-seen order and non-holders are omitted. This filtered mode is not paginated, so marker and limit are rejected.
|
inline |
Construct a new MPTHoldersHandler object.
| sharedPtrBackend | The backend to use |
|
nodiscard |
Process the MPTHolders command.
| input | The input data for the command |
| ctx | The context of the request |
|
friend |
Convert the Output to a JSON object.
| [out] | jv | The JSON object to convert to |
| output | The output to convert |