20#ifndef RIPPLE_PROTOCOL_NFTOKENOFFERID_H_INCLUDED
21#define RIPPLE_PROTOCOL_NFTOKENOFFERID_H_INCLUDED
23#include <xrpl/basics/base_uint.h>
24#include <xrpl/json/json_forwards.h>
25#include <xrpl/protocol/STTx.h>
26#include <xrpl/protocol/TxMeta.h>
43 TxMeta
const& transactionMeta);
52 TxMeta
const& transactionMeta);
Use hash_* containers for keys that do not need a cryptographically secure hashing algorithm.
bool canHaveNFTokenOfferID(std::shared_ptr< STTx const > const &serializedTx, TxMeta const &transactionMeta)
Add an offer_id field to the meta output parameter.
std::optional< uint256 > getOfferIDFromCreatedOffer(TxMeta const &transactionMeta)
void insertNFTokenOfferID(Json::Value &response, std::shared_ptr< STTx const > const &transaction, TxMeta const &transactionMeta)