xrpld
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
25std::optional<uint256>
26getOfferIDFromCreatedOffer(TxMeta const& transactionMeta);
27
28void
30 json::Value& response,
31 std::shared_ptr<STTx const> const& transaction,
32 TxMeta const& transactionMeta);
34
35} // namespace xrpl
Use hash_* containers for keys that do not need a cryptographically secure hashing algorithm.
Definition algorithm.h:5
void insertNFTokenOfferID(json::Value &response, std::shared_ptr< STTx const > const &transaction, TxMeta const &transactionMeta)
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)