rippled
Loading...
Searching...
No Matches
NFTokenOfferID.h
1#pragma once
2
3#include <xrpl/basics/base_uint.h>
4#include <xrpl/json/json_forwards.h>
5#include <xrpl/protocol/STTx.h>
6#include <xrpl/protocol/TxMeta.h>
7
8#include <memory>
9#include <optional>
10
11namespace xrpl {
12
20bool
22 std::shared_ptr<STTx const> const& serializedTx,
23 TxMeta const& transactionMeta);
24
26getOfferIDFromCreatedOffer(TxMeta const& transactionMeta);
27
28void
30 Json::Value& response,
31 std::shared_ptr<STTx const> const& transaction,
32 TxMeta const& transactionMeta);
35} // namespace xrpl
Represents a JSON value.
Definition json_value.h:130
Use hash_* containers for keys that do not need a cryptographically secure hashing algorithm.
Definition algorithm.h:5
bool canHaveNFTokenOfferID(std::shared_ptr< STTx const > const &serializedTx, TxMeta const &transactionMeta)
Add an offer_id field to the meta output parameter.
void insertNFTokenOfferID(Json::Value &response, std::shared_ptr< STTx const > const &transaction, TxMeta const &transactionMeta)
std::optional< uint256 > getOfferIDFromCreatedOffer(TxMeta const &transactionMeta)