public class ExchangeTransaction extends TransactionWithSignature
Modifier and Type | Field and Description |
---|---|
static byte |
EXCHANGE |
signature
V1, V2
Constructor and Description |
---|
ExchangeTransaction(long amount,
long price,
Order buyOrder,
Order sellOrder,
long buyMatcherFee,
long sellMatcherFee,
long fee,
long timestamp,
ByteString signature) |
ExchangeTransaction(PrivateKeyAccount senderPublicKey,
long amount,
long price,
Order buyOrder,
Order sellOrder,
long buyMatcherFee,
long sellMatcherFee,
long fee,
long timestamp) |
ExchangeTransaction(PublicKeyAccount senderPublicKey,
long amount,
long price,
Order buyOrder,
Order sellOrder,
long buyMatcherFee,
long sellMatcherFee,
long fee,
long timestamp,
ByteString signature) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
long |
getAmount() |
long |
getBuyMatcherFee() |
byte[] |
getBytes() |
long |
getFee() |
Order |
getOrder1() |
Order |
getOrder2() |
long |
getPrice() |
long |
getSellMatcherFee() |
PublicKeyAccount |
getSenderPublicKey() |
long |
getTimestamp() |
byte |
getType() |
byte |
getVersion() |
int |
hashCode() |
getSignature, verifySignature
getId
public static final byte EXCHANGE
public ExchangeTransaction(PrivateKeyAccount senderPublicKey, long amount, long price, Order buyOrder, Order sellOrder, long buyMatcherFee, long sellMatcherFee, long fee, long timestamp)
public ExchangeTransaction(long amount, long price, Order buyOrder, Order sellOrder, long buyMatcherFee, long sellMatcherFee, long fee, long timestamp, ByteString signature)
public ExchangeTransaction(PublicKeyAccount senderPublicKey, long amount, long price, Order buyOrder, Order sellOrder, long buyMatcherFee, long sellMatcherFee, long fee, long timestamp, ByteString signature)
public long getAmount()
public long getPrice()
public long getBuyMatcherFee()
public long getSellMatcherFee()
public long getFee()
public Order getOrder1()
public Order getOrder2()
public byte[] getBytes()
public PublicKeyAccount getSenderPublicKey()
public byte getType()
public byte getVersion()
public long getTimestamp()
Copyright © 2019. All rights reserved.