20#ifndef RIPPLE_RPC_DELIVEREDAMOUNT_H_INCLUDED
21#define RIPPLE_RPC_DELIVEREDAMOUNT_H_INCLUDED
23#include <xrpl/protocol/Protocol.h>
24#include <xrpl/protocol/STAmount.h>
65 RPC::JsonContext
const&,
71 RPC::JsonContext
const&,
77 RPC::Context
const& context,
79 TxMeta
const& transactionMeta,
JSON (JavaScript Object Notation).
std::optional< STAmount > getDeliveredAmount(RPC::Context const &context, std::shared_ptr< STTx const > const &serializedTx, TxMeta const &transactionMeta, LedgerIndex const &ledgerIndex)
void insertDeliveredAmount(Json::Value &meta, ReadView const &, std::shared_ptr< STTx const > const &serializedTx, TxMeta const &)
Add a delivered_amount field to the meta input/output parameter.
Use hash_* containers for keys that do not need a cryptographically secure hashing algorithm.
std::uint32_t LedgerIndex
A ledger index.