rippled
Loading...
Searching...
No Matches
MPTokenIssuanceID.h
1#ifndef XRPL_RPC_MPTOKENISSUANCEID_H_INCLUDED
2#define XRPL_RPC_MPTOKENISSUANCEID_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
12namespace ripple {
13
14namespace RPC {
15
24bool
26 std::shared_ptr<STTx const> const& serializedTx,
27 TxMeta const& transactionMeta);
28
30getIDFromCreatedIssuance(TxMeta const& transactionMeta);
31
32void
34 Json::Value& response,
35 std::shared_ptr<STTx const> const& transaction,
36 TxMeta const& transactionMeta);
39} // namespace RPC
40} // namespace ripple
41
42#endif
Represents a JSON value.
Definition json_value.h:130
std::optional< uint192 > getIDFromCreatedIssuance(TxMeta const &transactionMeta)
void insertMPTokenIssuanceID(Json::Value &response, std::shared_ptr< STTx const > const &transaction, TxMeta const &transactionMeta)
bool canHaveMPTokenIssuanceID(std::shared_ptr< STTx const > const &serializedTx, TxMeta const &transactionMeta)
Add a mpt_issuance_id field to the meta input/output parameter.
Use hash_* containers for keys that do not need a cryptographically secure hashing algorithm.
Definition algorithm.h:6