20#include <xrpld/app/ledger/OpenLedger.h>
21#include <xrpld/app/main/Application.h>
22#include <xrpld/app/misc/TxQ.h>
23#include <xrpld/rpc/Context.h>
24#include <xrpld/rpc/GRPCHandlers.h>
26#include <xrpl/protocol/ErrorCodes.h>
35 UNREACHABLE(
"ripple::doFee : invalid result type");
Json::Value doRPC(Application &app) const
Summarize current fee metrics for the fee RPC command.
@ objectValue
object value (collection of name/value pairs).
void inject_error(error_code_i code, JsonValue &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 &context)