20#include <test/jtx/ticket.h>
22#include <xrpl/protocol/jss.h>
34 jv[jss::Account] = account.human();
35 jv[jss::TransactionType] = jss::TicketCreate;
36 jv[sfTicketCount.jsonName] = count;
44 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.