From b08a215782ee631d05cb97faa0aa3482e4abe3a6 Mon Sep 17 00:00:00 2001 From: Warren He Date: Mon, 30 Oct 2023 16:50:20 -0700 Subject: [PATCH] storage: query NFT original metadata --- storage/client/client.go | 1 + storage/client/queries/queries.go | 1 + 2 files changed, 2 insertions(+) diff --git a/storage/client/client.go b/storage/client/client.go index 681ea4e8f..090299409 100644 --- a/storage/client/client.go +++ b/storage/client/client.go @@ -1602,6 +1602,7 @@ func (c *StorageClient) RuntimeEVMNFTs(ctx context.Context, limit *uint64, offse &ownerAddrData, &nft.MetadataUri, &metadataAccessedN, + &nft.Metadata, &nft.Name, &nft.Description, &nft.Image, diff --git a/storage/client/queries/queries.go b/storage/client/queries/queries.go index 1b072226b..33f6935e9 100644 --- a/storage/client/queries/queries.go +++ b/storage/client/queries/queries.go @@ -522,6 +522,7 @@ const ( owner_preimage.address_data, chain.evm_nfts.metadata_uri, chain.evm_nfts.metadata_accessed, + chain.evm_nfts.metadata, chain.evm_nfts.name, chain.evm_nfts.description, chain.evm_nfts.image