Package org.stellar.sdk.xdr
Class CreateAccountOp
java.lang.Object
org.stellar.sdk.xdr.CreateAccountOp
CreateAccountOp's original definition in the XDR file is:
struct CreateAccountOp { AccountID destination; // account to create int64 startingBalance; // amount they end up with };
-
Nested Class Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
static CreateAccountOp
decode
(XdrDataInputStream stream) void
encode
(XdrDataOutputStream stream) boolean
static CreateAccountOp
fromXdrBase64
(String xdr) static CreateAccountOp
fromXdrByteArray
(byte[] xdr) int
hashCode()
void
setDestination
(AccountID destination) void
setStartingBalance
(Int64 startingBalance) toString()
default String
default byte[]
-
Constructor Details
-
CreateAccountOp
public CreateAccountOp() -
CreateAccountOp
-
-
Method Details
-
encode
- Throws:
IOException
-
decode
- Throws:
IOException
-
fromXdrBase64
- Throws:
IOException
-
fromXdrByteArray
- Throws:
IOException
-
builder
-
toBuilder
-
getDestination
-
getStartingBalance
-
setDestination
-
setStartingBalance
-
equals
-
hashCode
public int hashCode() -
toString
-
toXdrBase64
- Throws:
IOException
-
toXdrByteArray
- Throws:
IOException
-