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

Language:

transferToken

Transfer SPL token to a recipient.


Activity activity = this;
String toPublicKey = "to public key";
float amount = "1.1f";
String tokenMint = "mint address";
int decimals = 1;
MirrorWorld.transferToken(activity, toPublicKey, amount, tokenMint, decimals, new MirrorCallback() {
@Override
public void callback(String result) {
//todo
}
});

Edit this page on GitHub

Copyright © Mirror World, Inc. 2023
On this page

    Home

    Integration

    Guides

    API Reference