public class IssueTransactionV2 extends TransactionWithProofs implements IssueTransaction
Modifier and Type | Field and Description |
---|---|
static byte |
ISSUE |
MAX_PROOF_COUNT, proofs
V1, V2
Constructor and Description |
---|
IssueTransactionV2(PrivateKeyAccount senderPublicKey,
byte chainId,
String name,
String description,
long quantity,
byte decimals,
boolean reissuable,
String script,
long fee,
long timestamp) |
IssueTransactionV2(PublicKeyAccount senderPublicKey,
byte chainId,
String name,
String description,
long quantity,
byte decimals,
boolean reissuable,
String script,
long fee,
long timestamp,
List<ByteString> proofs) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
byte[] |
getBytes() |
byte |
getChainId() |
byte |
getDecimals() |
String |
getDescription() |
long |
getFee() |
String |
getName() |
long |
getQuantity() |
String |
getScript() |
PublicKeyAccount |
getSenderPublicKey() |
long |
getTimestamp() |
byte |
getType() |
byte |
getVersion() |
int |
hashCode() |
boolean |
isReissuable() |
IssueTransactionV2 |
withProof(int index,
ByteString proof) |
getProofs, setProofs
getId
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
getId
public static final byte ISSUE
public IssueTransactionV2(PrivateKeyAccount senderPublicKey, byte chainId, String name, String description, long quantity, byte decimals, boolean reissuable, String script, long fee, long timestamp)
public IssueTransactionV2(PublicKeyAccount senderPublicKey, byte chainId, String name, String description, long quantity, byte decimals, boolean reissuable, String script, long fee, long timestamp, List<ByteString> proofs)
public PublicKeyAccount getSenderPublicKey()
getSenderPublicKey
in interface Signable
getSenderPublicKey
in interface Transaction
public byte getChainId()
public String getName()
getName
in interface IssueTransaction
public String getDescription()
getDescription
in interface IssueTransaction
public long getQuantity()
getQuantity
in interface IssueTransaction
public byte getDecimals()
getDecimals
in interface IssueTransaction
public boolean isReissuable()
isReissuable
in interface IssueTransaction
public String getScript()
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
public IssueTransactionV2 withProof(int index, ByteString proof)
Copyright © 2019. All rights reserved.