Package org.stellar.sdk.xdr
Class TransactionV1Envelope
java.lang.Object
org.stellar.sdk.xdr.TransactionV1Envelope
- All Implemented Interfaces:
XdrElement
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
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuilder()static TransactionV1Envelopedecode(XdrDataInputStream stream) voidencode(XdrDataOutputStream stream) booleanstatic TransactionV1EnvelopefromXdrBase64(String xdr) static TransactionV1EnvelopefromXdrByteArray(byte[] xdr) getTx()inthashCode()voidsetSignatures(DecoratedSignature[] signatures) voidsetTx(Transaction tx) toString()Methods inherited from interface org.stellar.sdk.xdr.XdrElement
toXdrBase64, toXdrByteArray
-
Constructor Details
-
TransactionV1Envelope
public TransactionV1Envelope() -
TransactionV1Envelope
-
-
Method Details
-
encode
- Specified by:
encodein interfaceXdrElement- Throws:
IOException
-
decode
- Throws:
IOException
-
fromXdrBase64
- Throws:
IOException
-
fromXdrByteArray
- Throws:
IOException
-
builder
-
toBuilder
-
getTx
-
getSignatures
-
setTx
-
setSignatures
-
equals
-
hashCode
public int hashCode() -
toString
-