3#include <xrpld/rpc/Context.h>
4#include <xrpld/rpc/Role.h>
5#include <xrpld/rpc/Status.h>
7#include <xrpl/json/json_value.h>
19doCommand(rpc::JsonContext&, json::Value&);
22roleRequired(
unsigned int version,
bool betaEnabled, std::string
const& method);
API version numbers used in later API versions.
Role roleRequired(unsigned int version, bool betaEnabled, std::string const &method)
Status doCommand(rpc::JsonContext &context, json::Value &result)
Execute an RPC command and store the results in a json::Value.
Role
Indicates the level of administrative permission to grant.
Status represents the results of an operation that might fail.