public class SignedTransaction
extends java.lang.Object
Constructor and Description |
---|
SignedTransaction(PublicAccount signer,
java.lang.String payload,
java.lang.String hash,
TransactionType type)
The SignedTransaction constructor.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getHash()
Returns transaction hash.
|
java.lang.String |
getPayload()
Returns transaction serialized data.
|
PublicAccount |
getSigner()
Returns the signer of this transaction.
|
TransactionType |
getType()
Returns transaction type.
|
public SignedTransaction(PublicAccount signer, java.lang.String payload, java.lang.String hash, TransactionType type)
signer
- the signer of the transaction.payload
- the payload.hash
- the hash of the transaction.type
- the transaction type.public PublicAccount getSigner()
public java.lang.String getPayload()
public java.lang.String getHash()
public TransactionType getType()