Package org.stellar.sdk.xdr
Class TransactionV0
java.lang.Object
org.stellar.sdk.xdr.TransactionV0
TransactionV0's original definition in the XDR file is:
struct TransactionV0
{
uint256 sourceAccountEd25519;
uint32 fee;
SequenceNumber seqNum;
TimeBounds* timeBounds;
Memo memo;
Operation operations<MAX_OPS_PER_TX>;
union switch (int v)
{
case 0:
void;
}
ext;
};
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic classTransactionV0Ext's original definition in the XDR file is: -
Constructor Summary
ConstructorsConstructorDescriptionTransactionV0(Uint256 sourceAccountEd25519, Uint32 fee, SequenceNumber seqNum, TimeBounds timeBounds, Memo memo, Operation[] operations, TransactionV0.TransactionV0Ext ext) -
Method Summary
Modifier and TypeMethodDescriptionbuilder()static TransactionV0decode(XdrDataInputStream stream) voidencode(XdrDataOutputStream stream) booleanstatic TransactionV0fromXdrBase64(String xdr) static TransactionV0fromXdrByteArray(byte[] xdr) getExt()getFee()getMemo()inthashCode()voidvoidvoidvoidsetOperations(Operation[] operations) voidsetSeqNum(SequenceNumber seqNum) voidsetSourceAccountEd25519(Uint256 sourceAccountEd25519) voidsetTimeBounds(TimeBounds timeBounds) toString()default Stringdefault byte[]
-
Constructor Details
-
TransactionV0
public TransactionV0() -
TransactionV0
public TransactionV0(Uint256 sourceAccountEd25519, Uint32 fee, SequenceNumber seqNum, TimeBounds timeBounds, Memo memo, Operation[] operations, TransactionV0.TransactionV0Ext ext)
-
-
Method Details
-
encode
- Throws:
IOException
-
decode
- Throws:
IOException
-
fromXdrBase64
- Throws:
IOException
-
fromXdrByteArray
- Throws:
IOException
-
builder
-
toBuilder
-
getSourceAccountEd25519
-
getFee
-
getSeqNum
-
getTimeBounds
-
getMemo
-
getOperations
-
getExt
-
setSourceAccountEd25519
-
setFee
-
setSeqNum
-
setTimeBounds
-
setMemo
-
setOperations
-
setExt
-
equals
-
hashCode
public int hashCode() -
toString
-
toXdrBase64
- Throws:
IOException
-
toXdrByteArray
- Throws:
IOException
-