public static class CreateAccountOperation.Builder
extends java.lang.Object
CreateAccountOperation| Constructor and Description |
|---|
Builder(KeyPair destination,
java.lang.String startingBalance)
Creates a new CreateAccount builder.
|
| Modifier and Type | Method and Description |
|---|---|
CreateAccountOperation |
build()
Builds an operation
|
CreateAccountOperation.Builder |
setSourceAccount(KeyPair account)
Sets the source account for this operation.
|
public Builder(KeyPair destination, java.lang.String startingBalance)
destination - The destination keypair (uses only the public key).startingBalance - The initial balance to start with in lumens.java.lang.ArithmeticException - when startingBalance has more than 7 decimal places.public CreateAccountOperation.Builder setSourceAccount(KeyPair account)
account - The operation's source account.public CreateAccountOperation build()