1#ifndef XRPL_TEST_JTX_FEE_H_INCLUDED
2#define XRPL_TEST_JTX_FEE_H_INCLUDED
4#include <test/jtx/Env.h>
5#include <test/jtx/tags.h>
7#include <xrpl/basics/contract.h>
8#include <xrpl/protocol/STAmount.h>
40 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.
Used for fee() calls that use an owner reserve increment.