Package org.stellar.sdk.xdr
Class TransactionSignaturePayload
java.lang.Object
org.stellar.sdk.xdr.TransactionSignaturePayload
TransactionSignaturePayload's original definition in the XDR file is:
struct TransactionSignaturePayload { Hash networkId; union switch (EnvelopeType type) { // Backwards Compatibility: Use ENVELOPE_TYPE_TX to sign ENVELOPE_TYPE_TX_V0 case ENVELOPE_TYPE_TX: Transaction tx; case ENVELOPE_TYPE_TX_FEE_BUMP: FeeBumpTransaction feeBump; } taggedTransaction; };
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
static class
TransactionSignaturePayloadTaggedTransaction's original definition in the XDR file is: -
Constructor Summary
ConstructorDescriptionTransactionSignaturePayload
(Hash networkId, TransactionSignaturePayload.TransactionSignaturePayloadTaggedTransaction taggedTransaction) -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
static TransactionSignaturePayload
decode
(XdrDataInputStream stream) void
encode
(XdrDataOutputStream stream) boolean
static TransactionSignaturePayload
fromXdrBase64
(String xdr) static TransactionSignaturePayload
fromXdrByteArray
(byte[] xdr) int
hashCode()
void
setNetworkId
(Hash networkId) void
setTaggedTransaction
(TransactionSignaturePayload.TransactionSignaturePayloadTaggedTransaction taggedTransaction) toString()
default String
default byte[]
-
Constructor Details
-
TransactionSignaturePayload
public TransactionSignaturePayload() -
TransactionSignaturePayload
public TransactionSignaturePayload(Hash networkId, TransactionSignaturePayload.TransactionSignaturePayloadTaggedTransaction taggedTransaction)
-
-
Method Details
-
encode
- Throws:
IOException
-
decode
- Throws:
IOException
-
fromXdrBase64
- Throws:
IOException
-
fromXdrByteArray
- Throws:
IOException
-
builder
-
toBuilder
-
getNetworkId
-
getTaggedTransaction
public TransactionSignaturePayload.TransactionSignaturePayloadTaggedTransaction getTaggedTransaction() -
setNetworkId
-
setTaggedTransaction
public void setTaggedTransaction(TransactionSignaturePayload.TransactionSignaturePayloadTaggedTransaction taggedTransaction) -
equals
-
hashCode
public int hashCode() -
toString
-
toXdrBase64
- Throws:
IOException
-
toXdrByteArray
- Throws:
IOException
-