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

Language:

transferNFT

Transfer NFT from holder's wallet to another address.


Activity activity = this;
String mintAddress = "NFT mint address";
String toWallet = "to wallet address";
String confirmation = MirrorConfirmation.Default;
MirrorWorld.transferNFT(activity, mintAddress, toWallet, confirmation, new TransferNFTListener() {
@Override
public void onTransferSuccess(ListingResponse listingResponse) {
Log.d("MirrorSDK","Transfer success,the NFT is:"+listingResponse.mint_address);
}
@Override
public void onTransferFailed(long code, String message) {
Log.d("MirrorSDK","Transfer NFT faild,code:"+code+" message:"+message);
}
});

Edit this page on GitHub

Copyright © Mirror World, Inc. 2023
On this page

    Home

    Integration

    Guides

    API Reference