public class BurnTransactionV1 extends TransactionWithSignature implements BurnTransaction
signature
BURN
V1, V2
Constructor and Description |
---|
BurnTransactionV1(PrivateKeyAccount senderPublicKey,
String assetId,
long amount,
long fee,
long timestamp) |
BurnTransactionV1(PublicKeyAccount senderPublicKey,
String assetId,
long amount,
long fee,
long timestamp,
ByteString signature) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
long |
getAmount() |
String |
getAssetId() |
byte[] |
getBytes() |
long |
getFee() |
PublicKeyAccount |
getSenderPublicKey() |
long |
getTimestamp() |
byte |
getType() |
byte |
getVersion() |
int |
hashCode() |
getSignature, verifySignature
getId
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
getId
public BurnTransactionV1(PrivateKeyAccount senderPublicKey, String assetId, long amount, long fee, long timestamp)
public BurnTransactionV1(PublicKeyAccount senderPublicKey, String assetId, long amount, long fee, long timestamp, ByteString signature)
public PublicKeyAccount getSenderPublicKey()
getSenderPublicKey
in interface Signable
getSenderPublicKey
in interface Transaction
public String getAssetId()
getAssetId
in interface BurnTransaction
public long getAmount()
getAmount
in interface BurnTransaction
public long getFee()
getFee
in interface Transaction
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.