public class TransferTransactionV2 extends TransactionWithProofs implements TransferTransaction
MAX_PROOF_COUNT, proofs
TRANSFER
V1, V2
Constructor and Description |
---|
TransferTransactionV2(PrivateKeyAccount senderPublicKey,
String recipient,
long amount,
String assetId,
long fee,
String feeAssetId,
ByteString attachment,
long timestamp) |
TransferTransactionV2(PublicKeyAccount senderPublicKey,
String recipient,
long amount,
String assetId,
long fee,
String feeAssetId,
ByteString attachment,
long timestamp,
List<ByteString> proofs) |
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() |
getProofs, setProofs
getId
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
getId
public TransferTransactionV2(PublicKeyAccount senderPublicKey, String recipient, long amount, String assetId, long fee, String feeAssetId, ByteString attachment, long timestamp, List<ByteString> proofs)
public TransferTransactionV2(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.