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

Language:

fetchNFTsByCreatorAddresses

Fetch NFTs By Creator Addresses. Returns a detailed payload of all NFTs whose creatorAddresses are provided.


_18
List<string> creatorAddresses = new ArrayList<>();
_18
creatorAddresses.add("creator wallet address 1");
_18
creatorAddresses.Add("creator wallet address 2");
_18
int limit = 99;
_18
int offset = 1;
_18
_18
MirrorWorld.fetchNFTsByCreatorAddresses(creatorAddresses, limit, offset, new FetchNFTsListener() {
_18
@Override
_18
public void onFetchSuccess(MultipleNFTsResponse multipleNFTsResponse) {
_18
List<NFTObject> nfts = multipleNFTsResponse.nfts;
_18
Log.d("MirrorSDK","Fetched "+nft.size()+" NFTs");
_18
}
_18
_18
@Override
_18
public void onFetchFailed(long code, String message) {
_18
Log.d("MirrorSDK","Fetching NFTs faild,code:"+code+" message:"+message);
_18
}
_18
});

Edit this page on GitHub

Copyright © Mirror World, Inc. 2023
On this page

Home

Tutorials

Guides

API Reference