public class ExtendedSignedBlock extends SignedBlock
transactionssupernodeSignatureextensions, previous, supernode, timestamp, transactionMerkleRoot| Modifier | Constructor and Description |
|---|---|
protected |
ExtendedSignedBlock()
This object is only used to wrap the JSON response in a POJO, so
therefore this class should not be instantiated.
|
| Modifier and Type | Method and Description |
|---|---|
BlockId |
getBlockId() |
Asset |
getBlockReward() |
PublicKey |
getSigningKey() |
List<TransactionId> |
getTransactionIds() |
void |
setBlockId(BlockId blockId) |
void |
setBlockReward(Asset blockReward) |
void |
setSigningKey(PublicKey signingKey) |
void |
setTransactionIds(List<TransactionId> transactionIds) |
String |
toString() |
getTransactionsgetSupernodeSignature, setSupernodeSignature, toByteArraygetExtensions, getPrevious, getSupernode, getTimestamp, getTransactionMerkleRoot, setExtensions, setPrevious, setSupernode, setTimestamp, setTransactionMerkleRootprotected ExtendedSignedBlock()
Visibility set to protected as this is the parent class of Block.
public BlockId getBlockId()
public void setBlockId(BlockId blockId)
blockId - the blockId to setpublic PublicKey getSigningKey()
public void setSigningKey(PublicKey signingKey)
signingKey - the signingKey to setpublic List<TransactionId> getTransactionIds()
public void setTransactionIds(List<TransactionId> transactionIds)
transactionIds - the transactionIds to setpublic Asset getBlockReward()
public void setBlockReward(Asset blockReward)
public String toString()
toString in class SignedBlockCopyright © 2019. All rights reserved.