Block Range

class blocksci.BlockRange
property base_size

For each item: The size of the non-segwit data in bytes

Type

numpy.ndarray[int]

property bits

For each item: Difficulty threshold specified in block header

Type

numpy.ndarray[int]

property coinbase_param

For each item: Data contained within the coinbase transaction of this block

Type

list

property coinbase_tx

For each item: Return the coinbase transaction in this block

Type

blocksci.TxRange

property fee

For each item: The sum of the transaction fees contained in this block

Type

numpy.ndarray[int]

property hash

For each item: Hash of this block

Type

numpy.ndarray[S64]

property height

For each item: Height of the block in the blockchain

Type

numpy.ndarray[int]

property input_count

For each item: Returns total number of inputs included in this block

Type

numpy.ndarray[int]

property input_value

For each item: Returns the sum of the value of all of the inputs included in this block

Type

numpy.ndarray[int]

property inputs

For each item: A range of all of the inputs in the block

Type

blocksci.InputIterator

property next_block

For each item: Returns the block which follows this one in the chain

Type

blocksci.BlockRange

property nonce

For each item: Nonce specified in block header

Type

numpy.ndarray[int]

property output_count

For each item: Returns total number of outputs included in this block

Type

numpy.ndarray[int]

property output_value

For each item: Returns the sum of the value of all of the outputs included in this block

Type

numpy.ndarray[int]

property outputs

For each item: A range of all of the outputs in the block

Type

blocksci.OutputIterator

property prev_block

For each item: Returns the block which comes before this one in the chain

Type

blocksci.BlockRange

property revenue

For each item: Total reward received by the miner of this block

Type

numpy.ndarray[int]

property size_bytes

For each item: Returns the total size of the block in bytes

Type

numpy.ndarray[int]

property time

For each item: Datetime object created from creation timestamp

Type

numpy.ndarray[datetime64[ns]]

property time_seen

For each item: If recorded by the mempool recorder, the time that this block was first seen by your node

Type

numpy.ndarray[datetime64[ns]]

property timestamp

For each item: Creation timestamp specified in block header

Type

numpy.ndarray[int]

property timestamp_seen

For each item: If recorded by the mempool recorder, the timestamp that this block was first seen by your node

Type

numpy.ndarray[int]

property total_size

For each item: The size all block data in bytes

Type

numpy.ndarray[int]

property tx_count

For each item: A range of all of the txes in the block

Type

numpy.ndarray[int]

property txes

For each item: A range of all of the txes in the block

Type

blocksci.TxIterator

property version

For each item: Protocol version specified in block header

Type

numpy.ndarray[int]

property virtual_size

For each item: The weight of the block divided by 4

Type

numpy.ndarray[int]

property weight

For each item: Three times the base size plus the total size

Type

numpy.ndarray[int]