public class CoinTo extends Coin
address, amount, assetsChainId, assetsId| 构造器和说明 |
|---|
CoinTo() |
CoinTo(byte[] address,
int assetsChainId,
int assetsId,
BigInteger amount) |
CoinTo(byte[] address,
int assetsChainId,
int assetsId,
BigInteger amount,
long lockTime) |
| 限定符和类型 | 方法和说明 |
|---|---|
byte[] |
getAddress() |
BigInteger |
getAmount() |
int |
getAssetsChainId() |
int |
getAssetsId() |
long |
getLockTime() |
void |
parse(NulsByteBuffer byteBuffer) |
protected void |
serializeToStream(NulsOutputStreamBuffer stream) |
void |
setAddress(byte[] address) |
void |
setAmount(BigInteger amount) |
void |
setAssetsChainId(int assetsChainId) |
void |
setAssetsId(int assetsId) |
void |
setLockTime(long lockTime) |
int |
size() |
String |
toString() |
parse, serializepublic CoinTo()
public CoinTo(byte[] address,
int assetsChainId,
int assetsId,
BigInteger amount)
public CoinTo(byte[] address,
int assetsChainId,
int assetsId,
BigInteger amount,
long lockTime)
protected void serializeToStream(NulsOutputStreamBuffer stream) throws IOException
serializeToStream 在类中 BaseNulsDataIOExceptionpublic void parse(NulsByteBuffer byteBuffer) throws NulsException
parse 在类中 BaseNulsDataNulsExceptionpublic int size()
public byte[] getAddress()
getAddress 在类中 Coinpublic void setAddress(byte[] address)
setAddress 在类中 Coinpublic int getAssetsChainId()
getAssetsChainId 在类中 Coinpublic void setAssetsChainId(int assetsChainId)
setAssetsChainId 在类中 Coinpublic int getAssetsId()
getAssetsId 在类中 Coinpublic void setAssetsId(int assetsId)
setAssetsId 在类中 Coinpublic BigInteger getAmount()
public void setAmount(BigInteger amount)
public long getLockTime()
public void setLockTime(long lockTime)
Copyright © 2021. All rights reserved.