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

Language:

transferSPLToken

Transfer SPL token to a recipient.


_11
String toPublicKey = "to public key";
_11
float amount = "1.1f";
_11
String tokenMint = "mint address";
_11
float decimals = "2f";
_11
_11
MirrorWorld.transferSPLToken(toPublicKey, amount, tokenMint, decimals, new MirrorCallback() {
_11
@Override
_11
public void callback(String result) {
_11
//todo
_11
}
_11
});

Edit this page on GitHub

Copyright © Mirror World, Inc. 2023
On this page

    Home

    Tutorials

    Guides

    API Reference