20#ifndef RIPPLE_TEST_JTX_FEE_H_INCLUDED
21#define RIPPLE_TEST_JTX_FEE_H_INCLUDED
23#include <test/jtx/Env.h>
24#include <test/jtx/tags.h>
26#include <xrpl/basics/contract.h>
27#include <xrpl/protocol/STAmount.h>
54 Throw<std::runtime_error>(
"fee: not XRP");
A transaction testing environment.
std::optional< STAmount > amount_
fee(std::uint64_t amount, bool negative=false)
void operator()(Env &, JTx &jt) const
fee(STAmount const &amount)
Use hash_* containers for keys that do not need a cryptographically secure hashing algorithm.
bool isXRP(AccountID const &c)
Execution context for applying a JSON transaction.