Clio develop
The XRP Ledger API server.
|
Contains common functionality for handling the tx
command.
More...
#include <Tx.hpp>
Classes | |
struct | Input |
A struct to hold the input data for the command. More... | |
struct | Output |
A struct to hold the output data of the command. More... | |
Public Types | |
using | Result = HandlerReturnType<Output> |
Public Member Functions | |
BaseTxHandler (std::shared_ptr< BackendInterface > const &sharedPtrBackend, std::shared_ptr< ETLServiceType const > const &etl) | |
Construct a new BaseTxHandler object. | |
Result | process (Input input, Context const &ctx) const |
Process the Tx command. | |
Static Public Member Functions | |
static RpcSpecConstRef | spec (uint32_t apiVersion) |
Returns the API specification for the command. | |
Friends | |
void | tag_invoke (boost::json::value_from_tag, boost::json::value &jv, Output const &output) |
Input | tag_invoke (boost::json::value_to_tag< Input >, boost::json::value const &jv) |
Contains common functionality for handling the tx
command.
ETLServiceType | The type of the ETL service to use |
|
inline |
Construct a new BaseTxHandler object.
sharedPtrBackend | The backend to use |
etl | The ETL service to use |
|
inline |
Process the Tx command.
input | The input data for the command |
ctx | The context of the request |
|
inlinestatic |
Returns the API specification for the command.
apiVersion | The api version to return the spec for |