20#include <test/jtx/ticket.h>
21#include <xrpl/protocol/jss.h>
33 jv[jss::Account] = account.human();
34 jv[jss::TransactionType] = jss::TicketCreate;
35 jv[sfTicketCount.jsonName] = count;
43 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.
Use hash_* containers for keys that do not need a cryptographically secure hashing algorithm.
Execution context for applying a JSON transaction.