public class AliasTransactionV1 extends TransactionWithSignature implements AliasTransaction
signature
ALIAS
V1, V2
Constructor and Description |
---|
AliasTransactionV1(PrivateKeyAccount senderPublicKey,
Alias alias,
long fee,
long timestamp) |
AliasTransactionV1(PublicKeyAccount senderPublicKey,
Alias alias,
long fee,
long timestamp,
ByteString signature) |
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() |
getSignature, verifySignature
public AliasTransactionV1(PrivateKeyAccount senderPublicKey, Alias alias, long fee, long timestamp)
public AliasTransactionV1(PublicKeyAccount senderPublicKey, Alias alias, long fee, long timestamp, ByteString signature)
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
Copyright © 2019. All rights reserved.