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

Language:

fetchNFTsByMintAddresses

Fetch NFTs By Mint Addresses. Returns a detailed payload of all NFTs whose mintAddresses are provided.


_15
List<String> mintAddresses = new ArrayList<>();
_15
mintAddresses.add("NFT mint address 1");
_15
mintAddresses.add("NFT mint address 2");
_15
_15
MirrorWorld.fetchNFTsByMintAddresses(mintAddresses, new FetchNFTsListener() {
_15
@Override
_15
public void onFetchSuccess(MultipleNFTsResponse multipleNFTsResponse) {
_15
Log.d("MirrorSDK","Fetched " + multipleNFTsResponse.nfts.size() + " NFTs");
_15
}
_15
_15
@Override
_15
public void onFetchFailed(long code, String message) {
_15
Log.d("MirrorSDK","Fetching NFTs faild,code:"+code+" message:"+message);
_15
}
_15
});

Edit this page on GitHub

Copyright © Mirror World, Inc. 2023
On this page

    Home

    Tutorials

    Guides

    API Reference