1#include <xrpld/app/misc/DeliverMax.h>
3#include <xrpl/protocol/TxFormats.h>
4#include <xrpl/protocol/jss.h>
13 if (txnType == ttPAYMENT)
15 txJson[jss::DeliverMax] = txJson[jss::Amount];
Value removeMember(char const *key)
Remove and return the named member.
bool isMember(char const *key) const
Return true if the object has a member named key.
API version numbers used in later API versions.
void insertDeliverMax(json::Value &txJson, TxType txnType, unsigned int apiVersion)
Copy Amount field to DeliverMax field in transaction output JSON.
TxType
Transaction type identifiers.