Block Iterator¶
-
class
blocksci.
BlockIterator
¶ -
all
¶ Returns a list of all of the objects in the range
-
base_size
¶ For each item: The size of the non-segwit data in bytes
Type: numpy.ndarray[uint32]
-
bits
¶ For each item: Difficulty threshold specified in block header
Type: numpy.ndarray[uint32]
-
coinbase_param
¶ For each item: Data contained within the coinbase transaction of this block
Type: list
-
coinbase_tx
¶ For each item: Return the coinbase transaction in this block
Type: blocksci.TxIterator
-
fee
¶ For each item: The sum of the transaction fees contained in this block
Type: numpy.ndarray[int64]
-
hash
¶ For each item: Hash of this block
Type: numpy.ndarray[S64]
-
height
¶ For each item: Height of the block in the blockchain
Type: numpy.ndarray[int32]
-
input_count
¶ For each item: Returns total number of inputs included in this block
Type: numpy.ndarray[uint64]
-
input_value
¶ For each item: Returns the sum of the value of all of the inputs included in this block
Type: numpy.ndarray[int64]
-
inputs
¶ For each item: A range of all of the inputs in the block
Type: blocksci.InputIterator
-
next_block
¶ For each item: Returns the block which follows this one in the chain
Type: blocksci.BlockIterator
-
nonce
¶ For each item: Nonce specified in block header
Type: numpy.ndarray[uint32]
-
output_count
¶ For each item: Returns total number of outputs included in this block
Type: numpy.ndarray[uint64]
-
output_value
¶ For each item: Returns the sum of the value of all of the outputs included in this block
Type: numpy.ndarray[int64]
-
outputs
¶ For each item: A range of all of the outputs in the block
Type: blocksci.OutputIterator
-
prev_block
¶ For each item: Returns the block which comes before this one in the chain
Type: blocksci.BlockIterator
-
revenue
¶ For each item: Total reward received by the miner of this block
Type: numpy.ndarray[int64]
-
size_bytes
¶ For each item: Returns the total size of the block in bytes
Type: numpy.ndarray[uint32]
-
time
¶ For each item: Datetime object created from creation timestamp
Type: numpy.ndarray[NumpyDatetime]
-
time_seen
¶ For each item: If recorded by the mempool recorder, the time that this block was first seen by your node
Type: blocksci.DateOptionalIterator
-
timestamp
¶ For each item: Creation timestamp specified in block header
Type: numpy.ndarray[uint32]
-
total_size
¶ For each item: The size all block data in bytes
Type: numpy.ndarray[uint32]
-
tx_count
¶ For each item: A range of all of the txes in the block
Type: numpy.ndarray[int64]
-
txes
¶ For each item: A range of all of the txes in the block
Type: blocksci.TxIterator
-
version
¶ For each item: Protocol version specified in block header
Type: numpy.ndarray[int32]
-
virtual_size
¶ For each item: The weight of the block divided by 4
Type: numpy.ndarray[uint32]
-
weight
¶ For each item: Three times the base size plus the total size
Type: numpy.ndarray[uint32]
-