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

Language:

transferBNB

Transfer BNB to wallet address.This method can only used on BNB chain.


Activity activity = this;
String nonce = "nonce ";
String gasPrice = "gas price";
String gasLimit = "gas limit";
String to = "to wallet address";
int amount = 1;
MirrorWorld.Polygon.Wallet.transferBNB(activity, nonce, gasPrice, gasLimit, to, amount, 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

    Changelog