buyNFT
Purchase NFT on Mirror World Marketplace.
Activity activity = this;String mintAddress = "mint address";double price = 1;String auctionHouse = "auction_house";MirrorWorld.buyNFT(activity, mintAddress, price, auctionHouse, 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