Skip to main content
BETA
HomeIntegration BuilderAPI ReferenceGuidesChangelog
View Mirror World on Github
Join the Discord server

Language:

SearchNFTs

Search NFTs by an input search string.

Parameters

collections|List<string> - The addresses of all collections to be queried.

searchString|string - The search filed

action|Action<CommonResponse<List<MirrorMarketNFTObj>>> - The callback function of this method is used to receive the results.

Returns

response class - CommonResponse<List<MirrorMarketNFTObj>>

Code Example


List<string> collections = new List<string>();
collections.Add("collection 1");
string searchString = "your search string";
MWSDK.Solana.Metadata.SearchNFTs(collections, searchString, (res) => {
CommonResponse<List<MirrorMarketNFTObj>> resObj = res;
long code = resObj.code;
string message = resObj.message;
List<MirrorMarketNFTObj> nftObjs = resObj.data;
//todo...
});

Edit this page on GitHub

Copyright © Mirror World, Inc. 2023
On this page

Home

Integration

Guides

API Reference

Changelog