public class LeaseTransactionV1 extends TransactionWithSignature implements LeaseTransaction
Modifier and Type | Field and Description |
---|---|
static byte |
LEASE |
signature
V1, V2
Constructor and Description |
---|
LeaseTransactionV1(PrivateKeyAccount senderPublicKey,
String recipient,
long amount,
long fee,
long timestamp) |
LeaseTransactionV1(PublicKeyAccount senderPublicKey,
String recipient,
long amount,
long fee,
long timestamp,
ByteString signature) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
long |
getAmount() |
byte[] |
getBytes() |
long |
getFee() |
String |
getRecipient() |
PublicKeyAccount |
getSenderPublicKey() |
long |
getTimestamp() |
byte |
getType() |
byte |
getVersion() |
int |
hashCode() |
getSignature, verifySignature
getId
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
getId
public static final byte LEASE
public LeaseTransactionV1(PrivateKeyAccount senderPublicKey, String recipient, long amount, long fee, long timestamp)
public LeaseTransactionV1(PublicKeyAccount senderPublicKey, String recipient, long amount, long fee, long timestamp, ByteString signature)
public PublicKeyAccount getSenderPublicKey()
getSenderPublicKey
in interface Signable
getSenderPublicKey
in interface Transaction
public String getRecipient()
getRecipient
in interface LeaseTransaction
public long getAmount()
getAmount
in interface LeaseTransaction
public long getFee()
getFee
in interface Transaction
getFee
in interface LeaseTransaction
public long getTimestamp()
getTimestamp
in interface Transaction
getTimestamp
in interface LeaseTransaction
public byte getType()
getType
in interface Transaction
public byte getVersion()
getVersion
in interface Transaction
Copyright © 2019. All rights reserved.