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

The tx method retrieves information on a single transaction, by its identifying hash. More...

#include <Tx.hpp>

Inheritance diagram for rpc::TxHandler:
Collaboration diagram for rpc::TxHandler:

Classes

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

Public Types

using Result = HandlerReturnType<Output>

Public Member Functions

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

Friends

void tag_invoke (boost::json::value_from_tag, boost::json::value &jv, Output const &output)

Detailed Description

The tx method retrieves information on a single transaction, by its identifying hash.

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

Constructor & Destructor Documentation

◆ TxHandler()

rpc::TxHandler::TxHandler ( std::shared_ptr< BackendInterface > sharedPtrBackend,
std::shared_ptr< etl::ETLServiceInterface const > const & etl )
inline

Construct a new TxHandler object.

Parameters
sharedPtrBackendThe backend to use
etlThe ETL service to use

Member Function Documentation

◆ process()

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

Process the Tx 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 file:
  • /__w/clio/clio/src/rpc/handlers/Tx.hpp