Package org.stellar.sdk.xdr
Class TransactionV1Envelope
java.lang.Object
org.stellar.sdk.xdr.TransactionV1Envelope
TransactionV1Envelope's original definition in the XDR file is:
struct TransactionV1Envelope { Transaction tx; /* Each decorated signature is a signature over the SHA256 hash of * a TransactionSignaturePayload */ DecoratedSignature signatures<20>; };
-
Nested Class Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
static TransactionV1Envelope
decode
(XdrDataInputStream stream) void
encode
(XdrDataOutputStream stream) boolean
static TransactionV1Envelope
fromXdrBase64
(String xdr) static TransactionV1Envelope
fromXdrByteArray
(byte[] xdr) getTx()
int
hashCode()
void
setSignatures
(DecoratedSignature[] signatures) void
setTx
(Transaction tx) toString()
default String
default byte[]
-
Constructor Details
-
TransactionV1Envelope
public TransactionV1Envelope() -
TransactionV1Envelope
-
-
Method Details
-
encode
- Throws:
IOException
-
decode
- Throws:
IOException
-
fromXdrBase64
- Throws:
IOException
-
fromXdrByteArray
- Throws:
IOException
-
builder
-
toBuilder
-
getTx
-
getSignatures
-
setTx
-
setSignatures
-
equals
-
hashCode
public int hashCode() -
toString
-
toXdrBase64
- Throws:
IOException
-
toXdrByteArray
- Throws:
IOException
-