public class DataTransaction extends TransactionWithProofs
Modifier and Type | Field and Description |
---|---|
static byte |
DATA |
MAX_PROOF_COUNT, proofs
V1, V2
Constructor and Description |
---|
DataTransaction(PrivateKeyAccount senderPublicKey,
Collection<DataEntry<?>> data,
long fee,
long timestamp) |
DataTransaction(PublicKeyAccount senderPublicKey,
Collection<DataEntry<?>> data,
long fee,
long timestamp,
List<ByteString> proofs) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
byte[] |
getBytes() |
Collection<DataEntry<?>> |
getData() |
long |
getFee() |
PublicKeyAccount |
getSenderPublicKey() |
long |
getTimestamp() |
byte |
getType() |
byte |
getVersion() |
int |
hashCode() |
getProofs, setProofs
getId
public static final byte DATA
public DataTransaction(PublicKeyAccount senderPublicKey, Collection<DataEntry<?>> data, long fee, long timestamp, List<ByteString> proofs)
public DataTransaction(PrivateKeyAccount senderPublicKey, Collection<DataEntry<?>> data, long fee, long timestamp)
public PublicKeyAccount getSenderPublicKey()
public byte[] getBytes()
public Collection<DataEntry<?>> getData()
public long getFee()
public long getTimestamp()
public byte getType()
public byte getVersion()
Copyright © 2019. All rights reserved.