createAccount

fun createAccount(newAccount: AccountKeyPair, startingBalance: ULong): SponsoringBuilder

Create an account in the network.

Parameters

newAccount

Key pair of an account to be created.

startingBalance

optional Starting account balance in XLM. Default value is 0.

Throws

InvalidSponsoredAccountException