public class TransferTransactionV1 extends TransactionWithSignature implements TransferTransaction
signature
TRANSFER
V1, V2
Constructor and Description |
---|
TransferTransactionV1(PrivateKeyAccount senderPublicKey,
String recipient,
long amount,
String assetId,
long fee,
String feeAssetId,
ByteString attachment,
long timestamp) |
TransferTransactionV1(PublicKeyAccount senderPublicKey,
String recipient,
long amount,
String assetId,
long fee,
String feeAssetId,
ByteString attachment,
long timestamp,
ByteString signature) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
long |
getAmount() |
String |
getAssetId() |
ByteString |
getAttachment() |
byte[] |
getBytes() |
long |
getFee() |
String |
getFeeAssetId() |
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 TransferTransactionV1(PublicKeyAccount senderPublicKey, String recipient, long amount, String assetId, long fee, String feeAssetId, ByteString attachment, long timestamp, ByteString signature)
public TransferTransactionV1(PrivateKeyAccount senderPublicKey, String recipient, long amount, String assetId, long fee, String feeAssetId, ByteString attachment, long timestamp)
public PublicKeyAccount getSenderPublicKey()
getSenderPublicKey
in interface Signable
getSenderPublicKey
in interface Transaction
public String getRecipient()
getRecipient
in interface TransferTransaction
public long getAmount()
getAmount
in interface TransferTransaction
public String getAssetId()
getAssetId
in interface TransferTransaction
public long getFee()
getFee
in interface Transaction
public String getFeeAssetId()
getFeeAssetId
in interface TransferTransaction
public ByteString getAttachment()
getAttachment
in interface TransferTransaction
public long getTimestamp()
getTimestamp
in interface Transaction
public byte getType()
getType
in interface Transaction
public byte getVersion()
getVersion
in interface Transaction
Copyright © 2019. All rights reserved.