1#include <test/jtx/ticket.h>
3#include <test/jtx/Account.h>
4#include <test/jtx/Env.h>
5#include <test/jtx/JTx.h>
7#include <xrpl/json/json_value.h>
8#include <xrpl/protocol/SField.h>
9#include <xrpl/protocol/jss.h>
19 jv[jss::Account] = account.human();
20 jv[jss::TransactionType] = jss::TicketCreate;
21 jv[sfTicketCount.jsonName] = count;
29 jt[sfSequence.jsonName] = 0u;
Immutable cryptographic account descriptor.
A transaction testing environment.
void operator()(Env &, JTx &jt) const
json::Value create(Account const &account, std::uint32_t count)
Create one of more tickets.
Execution context for applying a JSON transaction.