Files
rippled/src/test/jtx/pay.h
2026-07-13 10:40:40 +00:00

20 lines
397 B
C++

#pragma once
#include <test/jtx/Account.h>
#include <test/jtx/amount.h>
#include <xrpl/json/json_value.h>
#include <xrpl/protocol/AccountID.h>
namespace xrpl::test::jtx {
/**
* Create a payment.
*/
json::Value
pay(AccountID const& account, AccountID const& to, AnyAmount amount);
json::Value
pay(Account const& account, Account const& to, AnyAmount amount);
} // namespace xrpl::test::jtx