public class AliasTransactionV2 extends TransactionWithProofs implements AliasTransaction
MAX_PROOF_COUNT, proofs
ALIAS
V1, V2
Constructor and Description |
---|
AliasTransactionV2(PrivateKeyAccount senderPublicKey,
Alias alias,
long fee,
long timestamp) |
AliasTransactionV2(PublicKeyAccount senderPublicKey,
Alias alias,
long fee,
long timestamp,
List<ByteString> proofs) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
Alias |
getAlias() |
byte[] |
getBytes() |
long |
getFee() |
ByteString |
getId()
Transaction ID.
|
PublicKeyAccount |
getSenderPublicKey() |
long |
getTimestamp() |
byte |
getType() |
byte |
getVersion() |
int |
hashCode() |
AliasTransactionV2 |
withProof(int index,
ByteString proof) |
getProofs, setProofs
public AliasTransactionV2(PrivateKeyAccount senderPublicKey, Alias alias, long fee, long timestamp)
public AliasTransactionV2(PublicKeyAccount senderPublicKey, Alias alias, long fee, long timestamp, List<ByteString> proofs)
public ByteString getId()
Transaction
getId
in interface Transaction
getId
in interface WithId
getId
in class TransactionWithBytesHashId
public PublicKeyAccount getSenderPublicKey()
getSenderPublicKey
in interface Signable
getSenderPublicKey
in interface Transaction
public Alias getAlias()
getAlias
in interface AliasTransaction
public long getFee()
getFee
in interface Transaction
public long getTimestamp()
getTimestamp
in interface Transaction
public byte getVersion()
getVersion
in interface Transaction
public byte getType()
getType
in interface Transaction
public AliasTransactionV2 withProof(int index, ByteString proof)
Copyright © 2019. All rights reserved.