1#include <test/jtx/offer.h>
3#include <xrpl/protocol/jss.h>
17 jv[jss::Account] = account.human();
21 jv[jss::Flags] =
flags;
22 jv[jss::TransactionType] = jss::OfferCreate;
30 jv[jss::Account] = account.human();
31 jv[jss::OfferSequence] = offerSeq;
32 jv[jss::TransactionType] = jss::OfferCancel;
Json::Value getJson(JsonOptions=JsonOptions::none) const override
Immutable cryptographic account descriptor.
Json::Value offer(Account const &account, STAmount const &takerPays, STAmount const &takerGets, std::uint32_t flags)
Create an offer.
Json::Value offer_cancel(Account const &account, std::uint32_t offerSeq)
Cancel an offer.
Use hash_* containers for keys that do not need a cryptographically secure hashing algorithm.