Package org.consensusj.bitcoin.json.pojo
Class BlockInfo
java.lang.Object
org.consensusj.bitcoin.json.pojo.BlockInfo
BlockInfo POJO returned by GetBlockInfo
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
static class
-
Field Summary
Modifier and TypeFieldDescriptionfinal String
final String
final int
final BigDecimal
final org.bitcoinj.base.Sha256Hash
final int
final org.bitcoinj.base.Sha256Hash
final org.bitcoinj.base.Sha256Hash
final long
final org.bitcoinj.base.Sha256Hash
final int
final Instant
final BlockInfo.Sha256HashList
final int
-
Constructor Summary
ConstructorDescriptionBlockInfo
(org.bitcoinj.base.Sha256Hash hash, int confirmations, int size, int height, int version, org.bitcoinj.base.Sha256Hash merkleroot, int nTx, BlockInfo.Sha256HashList tx, long time, long nonce, String bits, BigDecimal difficulty, String chainwork, org.bitcoinj.base.Sha256Hash previousblockhash, org.bitcoinj.base.Sha256Hash nextblockhash) -
Method Summary
-
Field Details
-
hash
-
confirmations
-
size
-
height
-
version
-
merkleroot
-
tx
-
time
-
nonce
-
bits
-
difficulty
-
chainwork
-
previousblockhash
-
nextblockhash
-
-
Constructor Details
-
BlockInfo
public BlockInfo(org.bitcoinj.base.Sha256Hash hash, int confirmations, int size, int height, int version, org.bitcoinj.base.Sha256Hash merkleroot, int nTx, BlockInfo.Sha256HashList tx, long time, long nonce, String bits, BigDecimal difficulty, String chainwork, org.bitcoinj.base.Sha256Hash previousblockhash, org.bitcoinj.base.Sha256Hash nextblockhash)
-
-
Method Details
-
getHash
-
getConfirmations
-
getSize
-
getHeight
-
getVersion
-
getMerkleroot
-
getNTx
-
getTx
-
getTime
-
getNonce
-
getBits
-
getDifficulty
-
getChainwork
-
getPreviousblockhash
-
getNextblockhash
-