20 #include <ripple/protocol/NFTokenOfferID.h>
21 #include <ripple/protocol/jss.h>
28 TxMeta const& transactionMeta)
62 TxMeta const& transactionMeta)
TxType getTxnType() const
@ ttNFTOKEN_CREATE_OFFER
This transaction creates a new offer to buy or sell an NFT.
const SF_UINT256 sfLedgerIndex
TxType
Transaction type identifiers.
std::optional< uint256 > getOfferIDFromCreatedOffer(TxMeta const &transactionMeta)
@ ltNFTOKEN_OFFER
A ledger object which identifies an offer to buy or sell an NFT.
Use hash_* containers for keys that do not need a cryptographically secure hashing algorithm.
const SF_UINT16 sfLedgerEntryType
const SField sfCreatedNode
bool canHaveNFTokenOfferID(std::shared_ptr< STTx const > const &serializedTx, TxMeta const &transactionMeta)
Add an offer_id field to the meta output parameter.
std::string to_string(Manifest const &m)
Format the specified manifest to a string for debugging purposes.
void insertNFTokenOfferID(Json::Value &response, std::shared_ptr< STTx const > const &transaction, TxMeta const &transactionMeta)