- getHash
Returns the hash of the block (which for a valid, solved block should be below
the target). Big endi
- getHashAsString
Returns the hash of the block (which for a valid, solved block should be below
the target) in the fo
- getTimeSeconds
Returns the time at which the block was solved and broadcast, according to the
clock of the solving
- getTime
Returns the time at which the block was solved and broadcast, according to the
clock of the solving
- getTransactions
Returns an immutable list of transactions held in this block, or null if this
object represents just
- getDifficultyTarget
Returns the difficulty of the proof of work that this block should meet encoded
in compact form. Th
- getMerkleRoot
Returns the merkle root in big endian form, calculating it from transactions if
necessary.
- getPrevBlockHash
Returns the hash of the previous block in the chain, as defined by the block
header.
- getVersion
Returns the version of the block data structure as defined by the Bitcoin
protocol.
- setDifficultyTarget
Sets the difficulty target in compact form.
- setNonce
Sets the nonce and clears any cached data.
- setTime