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

Language:

getNFTsByUnabridgedParams

Get NFTs by unabridged params. You can get all NFTs which fit the search parameters you gave.


_29
String collection = "collection address";
_29
int page = 1;
_29
int pageSize = 10;
_29
String keyWord = "price";
_29
boolean desc = true;
_29
Double salePrice = "1.1";
_29
_29
JSONObject filter = new JSONObject();
_29
filter.put("filter_name","Rarity");
_29
filter.put("filter_type","enum");
_29
JSONArray values = new JSONArray();
_29
values.put("Common");
_29
filter.put("filter_value",values);
_29
filter.put("filter_type","enum");
_29
_29
List<JSONObject> filters = new ArrayList<>();
_29
filters.add(filter);
_29
_29
MirrorMarket.getNFTsByUnabridgedParams(collection,page,pageSize,keyWord,desc,salePrice,filters, new GetNFTsListener() {
_29
@Override
_29
public void onSuccess(GetNFTsRes result) {
_29
Log.d("MirrorSDK","Visiting success:"+MirrorGsonUtils.getInstance().toJson(result));
_29
}
_29
_29
@Override
_29
public void onFail(long code, String message) {
_29
Log.d("MirrorSDK","Visit Failed! code:"+code+" message:"+message);
_29
}
_29
});

Edit this page on GitHub

Copyright © Mirror World, Inc. 2023
On this page

    Home

    Tutorials

    Guides

    API Reference