Implement nextgen nft_info handler (#558)

Fixing #557
This commit is contained in:
Alex Kremer
2023-03-27 11:50:13 +01:00
committed by GitHub
parent 1bb67217e5
commit 95da706fed
7 changed files with 710 additions and 3 deletions

View File

@@ -19,6 +19,8 @@
#pragma once
#include <backend/Types.h>
#include <ripple/ledger/ReadView.h>
#include <string_view>
@@ -196,3 +198,11 @@ ripple::STObject
CreateDepositPreauthLedgerObject(
std::string_view account,
std::string_view auth);
[[nodiscard]] Backend::NFT
CreateNFT(
std::string_view tokenID,
std::string_view account,
ripple::LedgerIndex seq = 1234u,
ripple::Blob uri = ripple::Blob{'u', 'r', 'i'},
bool isBurned = false);