rippled
Loading...
Searching...
No Matches
NFTokenID.h
1#ifndef XRPL_PROTOCOL_NFTOKENID_H_INCLUDED
2#define XRPL_PROTOCOL_NFTOKENID_H_INCLUDED
3
4#include <xrpl/basics/base_uint.h>
5#include <xrpl/json/json_forwards.h>
6#include <xrpl/protocol/STTx.h>
7#include <xrpl/protocol/TxMeta.h>
8
9#include <memory>
10#include <optional>
11#include <vector>
12
13namespace ripple {
14
23bool
25 std::shared_ptr<STTx const> const& serializedTx,
26 TxMeta const& transactionMeta);
27
29getNFTokenIDFromPage(TxMeta const& transactionMeta);
30
32getNFTokenIDFromDeletedOffer(TxMeta const& transactionMeta);
33
34void
36 Json::Value& response,
37 std::shared_ptr<STTx const> const& transaction,
38 TxMeta const& transactionMeta);
41} // namespace ripple
42
43#endif
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:6
std::optional< uint256 > getNFTokenIDFromPage(TxMeta const &transactionMeta)
Definition NFTokenID.cpp:43
bool canHaveNFTokenID(std::shared_ptr< STTx const > const &serializedTx, TxMeta const &transactionMeta)
Add a nftoken_ids field to the meta output parameter.
Definition NFTokenID.cpp:23
std::vector< uint256 > getNFTokenIDFromDeletedOffer(TxMeta const &transactionMeta)
void insertNFTokenID(Json::Value &response, std::shared_ptr< STTx const > const &transaction, TxMeta const &transactionMeta)