searchNFTsByOwner
Fetch NFTs By Owner Addresses. Returns a detailed payload of all NFTs whose owners
are provided.
List<String> owners = new ArrayList<>();owners.add("owner address 1");int limit = 99;int offset = 1;MirrorWorld.Solana.Asset.searchNFTsByOwner(owners, limit, offset, new FetchByOwnerListener() { @Override public void onFetchSuccess(MultipleNFTsResponse multipleNFTsResponse) { int count = multipleNFTsResponse.nfts.size(); String countStr = "You have " + count + " NFTs"; Log.d("MirrorSDK",countStr); } @Override public void onFetchFailed(long code, String message) { Log.d("MirrorSDK","searchNFTsByOwner faild,code:"+code+" message:"+message); }});
Edit this page on GitHub