1#ifndef XRPL_RPC_HANDLERS_LEDGER_H_INCLUDED
2#define XRPL_RPC_HANDLERS_LEDGER_H_INCLUDED
4#include <xrpld/app/ledger/LedgerMaster.h>
5#include <xrpld/app/ledger/LedgerToJson.h>
6#include <xrpld/app/main/Application.h>
7#include <xrpld/rpc/Context.h>
8#include <xrpld/rpc/Role.h>
9#include <xrpld/rpc/Status.h>
10#include <xrpld/rpc/detail/Handler.h>
12#include <xrpl/ledger/ReadView.h>
13#include <xrpl/protocol/ApiVersion.h>
14#include <xrpl/protocol/jss.h>
42 static constexpr char name[] =
"ledger";
static constexpr unsigned maxApiVer
void writeResult(Json::Value &)
std::shared_ptr< ReadView const > ledger_
static constexpr unsigned minApiVer
static constexpr Condition condition
static constexpr char name[]
static constexpr Role role
std::vector< TxQ::TxDetails > queueTxs_
JSON (JavaScript Object Notation).
static constexpr auto apiMinimumSupportedVersion
static constexpr auto apiMaximumValidVersion
Use hash_* containers for keys that do not need a cryptographically secure hashing algorithm.
Role
Indicates the level of administrative permission to grant.
Status represents the results of an operation that might fail.