1#include <test/jtx/pay.h> 
    3#include <xrpl/protocol/TxFlags.h> 
    4#include <xrpl/protocol/jss.h> 
   18    jv[jss::TransactionType] = jss::Payment;
 
 
   25    return pay(account.id(), to.
id(), amount);
 
 
Json::Value getJson(JsonOptions=JsonOptions::none) const override
 
Immutable cryptographic account descriptor.
 
AccountID id() const
Returns the Account ID.
 
Json::Value pay(AccountID const &account, AccountID const &to, AnyAmount amount)
Create a payment.
 
Use hash_* containers for keys that do not need a cryptographically secure hashing algorithm.
 
std::string to_string(base_uint< Bits, Tag > const &a)
 
constexpr std::uint32_t tfFullyCanonicalSig
Transaction flags.
 
Amount specifier with an option for any issuer.
 
void to(AccountID const &id)