create Account
fun createAccount(newAccount: AccountKeyPair, startingBalance: ULong): TransactionBuilder
Content copied to clipboard
Create an account in the network.
Parameters
new Account
Key pair of an account to be created.
starting Balance
optional Starting account balance in XLM. Minimum for non-sponsored accounts is 1 XLM. Default value is 1.
Throws
on invalid starting balance