public class AccountTransactionV1 extends BlockItem
DEFAULT_NETWORK_ID, VERSION, VERSION_SIZE| Constructor and Description |
|---|
AccountTransactionV1(@NonNull TransactionSignaturesV1 signatures,
@NonNull TransactionHeaderV1 header,
@NonNull Payload payload) |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
static AccountTransactionV1 |
fromBytes(ByteBuffer source) |
static byte[] |
getDataToSign(TransactionHeaderV1 header,
Payload payload) |
TransactionHeaderV1 |
getHeader()
Transaction header data.
|
Payload |
getPayload()
Transaction payload, defines what this transaction does.
|
TransactionSignaturesV1 |
getSignatures()
The signatures on the transaction by the source account and optionally a sponsor account.
|
int |
hashCode() |
String |
toString() |
fromVersionedBytes, getBlockItemType, getBytesclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetHash, getNetworkId, getVersionedBytespublic AccountTransactionV1(@NonNull
@NonNull TransactionSignaturesV1 signatures,
@NonNull
@NonNull TransactionHeaderV1 header,
@NonNull
@NonNull Payload payload)
signatures - The signatures on the transaction by the source account and optionally a sponsor account.header - Transaction header data.payload - Transaction payload, defines what this transaction does.public static AccountTransactionV1 fromBytes(ByteBuffer source)
source - a buffer to read transaction bytes from, without BlockItemType byte.AccountTransactionV1UnsupportedOperationException - if payload can't be read.
Not all transaction (payload) types can be read.
For unsupported types, get the payload size
from the manually read TransactionHeaderV1
and then proceed with RawPayload.public static byte[] getDataToSign(TransactionHeaderV1 header, Payload payload)
public TransactionSignaturesV1 getSignatures()
public TransactionHeaderV1 getHeader()
public Payload getPayload()
Copyright © 2026. All rights reserved.