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
Modifier and TypeClassDescriptionstatic class
static class
TransactionV0Ext's original definition in the XDR file is: -
Constructor Summary
ConstructorDescriptionTransactionV0
(Uint256 sourceAccountEd25519, Uint32 fee, SequenceNumber seqNum, TimeBounds timeBounds, Memo memo, Operation[] operations, TransactionV0.TransactionV0Ext ext) -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
static TransactionV0
decode
(XdrDataInputStream stream) void
encode
(XdrDataOutputStream stream) boolean
static TransactionV0
fromXdrBase64
(String xdr) static TransactionV0
fromXdrByteArray
(byte[] xdr) getExt()
getFee()
getMemo()
int
hashCode()
void
void
void
void
setOperations
(Operation[] operations) void
setSeqNum
(SequenceNumber seqNum) void
setSourceAccountEd25519
(Uint256 sourceAccountEd25519) void
setTimeBounds
(TimeBounds timeBounds) toString()
default String
default 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
-