1#include <xrpld/app/main/Application.h>
2#include <xrpld/app/misc/TxQ.h>
3#include <xrpld/rpc/Context.h>
5#include <xrpl/beast/utility/instrumentation.h>
6#include <xrpl/json/json_value.h>
7#include <xrpl/protocol/ErrorCodes.h>
18 UNREACHABLE(
"xrpl::doFee : invalid result type");
json::Value doRPC(Application &app) const
Summarize current fee metrics for the fee RPC command.
@ Object
object value (collection of name/value pairs).
void injectError(ErrorCodeI code, json::Value &json)
Add or update the json update to reflect the error code.
Use hash_* containers for keys that do not need a cryptographically secure hashing algorithm.
json::Value doFee(RPC::JsonContext &)