Package org.stellar.sdk.operations
Class CreateAccountOperation
java.lang.Object
org.stellar.sdk.operations.Operation
org.stellar.sdk.operations.CreateAccountOperation
Represents CreateAccount operation.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
CreateAccountOperation.CreateAccountOperationBuilder<C extends CreateAccountOperation,
B extends CreateAccountOperation.CreateAccountOperationBuilder<C, B>> Nested classes/interfaces inherited from class org.stellar.sdk.operations.Operation
Operation.OperationBuilder<C extends Operation,
B extends Operation.OperationBuilder<C, B>> -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
boolean
static CreateAccountOperation
Construct a newCreateAccountOperation
object from aCreateAccountOp
XDR object.@NonNull String
Account that is created and funded@NonNull BigDecimal
Amount of XLM to send to the newly created account (max of 7 decimal places).int
hashCode()
toString()
Methods inherited from class org.stellar.sdk.operations.Operation
fromXdr, getSourceAccount, setSourceAccount, toXdr, toXdrBase64
-
Method Details
-
fromXdr
Construct a newCreateAccountOperation
object from aCreateAccountOp
XDR object.- Parameters:
op
-CreateAccountOp
XDR object- Returns:
CreateAccountOperation
object
-
builder
-
toBuilder
-
getDestination
Account that is created and funded -
getStartingBalance
Amount of XLM to send to the newly created account (max of 7 decimal places). -
toString
-
equals
-
hashCode
public int hashCode()
-