20#include <test/jtx/pay.h>
22#include <xrpl/protocol/TxFlags.h>
23#include <xrpl/protocol/jss.h>
37 jv[jss::TransactionType] = jss::Payment;
44 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.
constexpr std::uint32_t tfUniversal
std::string to_string(base_uint< Bits, Tag > const &a)
Amount specifier with an option for any issuer.
void to(AccountID const &id)