public class AccountTransaction extends BlockItem
Modifier and Type | Class and Description |
---|---|
static class |
AccountTransaction.AccountTransactionBlockItemBuilder |
DEFAULT_NETWORK_ID, VERSION, VERSION_SIZE
Constructor and Description |
---|
AccountTransaction(@NonNull TransactionSignature signature,
@NonNull TransactionHeader header,
@NonNull Payload payload)
Constructor for deserializing a transaction
|
Modifier and Type | Method and Description |
---|---|
static AccountTransaction.AccountTransactionBlockItemBuilder |
builderAccountTransactionBlockItem() |
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
static AccountTransaction |
fromBytes(ByteBuffer source) |
Expiry |
getExpiry()
Indicates when the transaction should expire.
|
TransactionHeader |
getHeader()
Header for the transaction
|
Nonce |
getNonce()
Sequence number for Account Activity.
|
Payload |
getPayload()
Account Transaction Payload Serialized to bytes.
|
AccountAddress |
getSender()
Sender of this Transaction.
|
TransactionSignature |
getSignature()
Signature of the transaction.
|
int |
hashCode() |
String |
toString() |
fromVersionedBytes, getBlockItemType, getBytes
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getHash, getNetworkId, getVersionedBytes
public AccountTransaction(@NonNull @NonNull TransactionSignature signature, @NonNull @NonNull TransactionHeader header, @NonNull @NonNull Payload payload)
signature
- the signatureheader
- the headerpayload
- the payloadpublic AccountAddress getSender()
AccountAddress
of the sender account.public Nonce getNonce()
Nonce
.public Expiry getExpiry()
public static AccountTransaction fromBytes(ByteBuffer source)
public static AccountTransaction.AccountTransactionBlockItemBuilder builderAccountTransactionBlockItem()
public TransactionHeader getHeader()
public TransactionSignature getSignature()
public Payload getPayload()
Copyright © 2025. All rights reserved.