#pragma once #include #include #include #include #include #include #include namespace xrpl { /** * Add a `nftoken_ids` field to the `meta` output parameter. * The field is only added to successful NFTokenMint, NFTokenAcceptOffer, * and NFTokenCancelOffer transactions. * * Helper functions are not static because they can be used by Clio. */ /** @{ */ bool canHaveNFTokenID(std::shared_ptr const& serializedTx, TxMeta const& transactionMeta); std::optional getNFTokenIDFromPage(TxMeta const& transactionMeta); std::vector getNFTokenIDFromDeletedOffer(TxMeta const& transactionMeta); void insertNFTokenID( json::Value& response, std::shared_ptr const& transaction, TxMeta const& transactionMeta); /** @} */ } // namespace xrpl