1#ifndef XRPL_RPC_DELIVEREDAMOUNT_H_INCLUDED
2#define XRPL_RPC_DELIVEREDAMOUNT_H_INCLUDED
4#include <xrpl/protocol/Protocol.h>
5#include <xrpl/protocol/STAmount.h>
46 RPC::JsonContext
const&,
52 RPC::JsonContext
const&,
58 RPC::Context
const& context,
60 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.