Optional Block Iterator¶
-
class
blocksci.BlockOptionalIterator¶ -
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: blocksci.IntOptionalIterator
-
bits¶ For each item: Difficulty threshold specified in block header
Type: blocksci.IntOptionalIterator
-
coinbase_param¶ For each item: Data contained within the coinbase transaction of this block
Type: blocksci.BytesOptionalIterator
-
coinbase_tx¶ For each item: Return the coinbase transaction in this block
Type: blocksci.TxOptionalIterator
-
fee¶ For each item: The sum of the transaction fees contained in this block
Type: blocksci.IntOptionalIterator
-
has_value¶ Return a array of bools denoting whether a item in the sequence has a value or is none
Type: numpy.ndarray[bool]
-
hash¶ For each item: Hash of this block
Type: blocksci.UInt256OptionalIterator
-
height¶ For each item: Height of the block in the blockchain
Type: blocksci.IntOptionalIterator
-
input_count¶ For each item: Returns total number of inputs included in this block
Type: blocksci.IntOptionalIterator
-
input_value¶ For each item: Returns the sum of the value of all of the inputs included in this block
Type: blocksci.IntOptionalIterator
-
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.BlockOptionalIterator
-
nonce¶ For each item: Nonce specified in block header
Type: blocksci.IntOptionalIterator
-
output_count¶ For each item: Returns total number of outputs included in this block
Type: blocksci.IntOptionalIterator
-
output_value¶ For each item: Returns the sum of the value of all of the outputs included in this block
Type: blocksci.IntOptionalIterator
-
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.BlockOptionalIterator
-
revenue¶ For each item: Total reward received by the miner of this block
Type: blocksci.IntOptionalIterator
-
size_bytes¶ For each item: Returns the total size of the block in bytes
Type: blocksci.IntOptionalIterator
-
time¶ For each item: Datetime object created from creation timestamp
Type: blocksci.DateOptionalIterator
-
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: blocksci.IntOptionalIterator
-
total_size¶ For each item: The size all block data in bytes
Type: blocksci.IntOptionalIterator
-
tx_count¶ For each item: A range of all of the txes in the block
Type: blocksci.IntOptionalIterator
-
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: blocksci.IntOptionalIterator
-
virtual_size¶ For each item: The weight of the block divided by 4
Type: blocksci.IntOptionalIterator
-
weight¶ For each item: Three times the base size plus the total size
Type: blocksci.IntOptionalIterator
-
with_default_value(default_value: blocksci.Block) → blocksci.BlockIterator¶ Replace all none values in the sequence with the provided default value and return the resulting sequence
Type: BlockIterator
-
with_value¶ Returns a sequence containing only non-None items in the sequence
Type: BlockIterator
-