package nft.info;

import config.Config;
import util.ZxlSDKUtil;

public class Test {
    public static void main(String[] args) throws Exception {
//        QueryTradeList queryNftByAddr = new QueryTradeList("fe1d8b87a9e0c6174f554b89f8bbf5a645b3c5a71c8a667e5bbd47bd8dfc0d89_1", 0, 10);
//        TransList query = queryNftByAddr.query();
//        System.out.println(query);

//        QueryTradeInList queryNftByAddr = new QueryTradeInList("zx9d3b2679666cd2b0d5d121c7e76858af9b5f1b05", 0, 10);
//        TradeList query = queryNftByAddr.query();
//        System.out.println(query);
//
//        QueryTradeAllList queryNftByAddr = new QueryTradeAllList("zx5319ed299486075a64a93f628424004711325281", 0, 10);
//        TradeList query = queryNftByAddr.query();
//        System.out.println(query);

//        QueryNftSeries queryNftByAddr = new QueryNftSeries("zx5319ed299486075a64a93f628424004711325281_329dcee80578bde9d718fe4ac3adb8ad9d678376458fdd758cfae8cd91ef9ecb");
//        NftSeriesInfo query = queryNftByAddr.query();
//        System.out.println(query);

        QueryAddrSeriesList queryNftByAddr = new QueryAddrSeriesList(ZxlSDKUtil.pubKey2Address(Config.platformPubKey));
        SeriesList query = queryNftByAddr.query();
        System.out.println(query);
    }
}
