Skip to main content
BETA
HomeIntegration BuilderAPI ReferenceGuidesChangelog
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.


String collection = "collection address";
int page = 1;
int pageSize = 10;
String keyWord = "price";
boolean desc = true;
Double salePrice = "1.1";
JSONObject filter = new JSONObject();
filter.put("filter_name","Rarity");
filter.put("filter_type","enum");
JSONArray values = new JSONArray();
values.put("Common");
filter.put("filter_value",values);
filter.put("filter_type","enum");
List<JSONObject> filters = new ArrayList<>();
filters.add(filter);
MirrorWorld.BNB.Metadata.getNFTsByUnabridgedParams(collection, page, page_size, order_by, desc, sale, null, new MirrorCallback() {
@Override
public void callback(String result) {
//todo
}
});

Edit this page on GitHub

Copyright © Mirror World, Inc. 2023
On this page

    Home

    Integration

    Guides

    API Reference

    Changelog