1#include <test/jtx/ticket.h>
3#include <xrpl/protocol/jss.h>
15 jv[jss::Account] = account.human();
16 jv[jss::TransactionType] = jss::TicketCreate;
17 jv[sfTicketCount.jsonName] = count;
25 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.