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

Language:

buyNFT

Purchase NFT on Mirror World Marketplace.


String mintAddress = "mint address";
Double price = 1;
MirrorWorld.buyNFT(mintAddress, price, new BuyNFTListener() {
@Override
public void onBuySuccess(ListingResponse listingResponse) {
Log.d("MirrorSDK","Buy NFT success,NFT is:"+listingResponse.mint_address);
}
@Override
public void onBuyFailed(long code, String message) {
Log.d("MirrorSDK","Buy NFT faild,code:"+code+" message:"+message);
}
});

Edit this page on GitHub

Copyright © Mirror World, Inc. 2023
On this page

    Home

    Tutorials

    Guides

    API Reference