Block¶
-
class
blocksci.
Block
¶ Class representing a block in the blockchain
-
all
¶ Returns a list of all of the objects in the range
-
coinbase_tx
¶ Return the coinbase transaction in this block
Type: blocksci.Tx
-
hash
¶ Hash of this block
Type: blocksci.uint256
-
inputs
¶ A range of all of the inputs in the block
Type: blocksci.InputIterator
-
miner
() → str¶ Get the miner of the block based on the text in the coinbase transaction
-
net_address_type_value
() → Dict[blocksci.address_type, int]¶ Returns a set of the net change in the utxo pool after this block split up by address type
-
net_full_type_value
() → Dict[str, int]¶ Returns a set of the net change in the utxo pool after this block split up by full type
-
next_block
¶ Returns the block which follows this one in the chain
Type: blocksci.Block
-
outputs
¶ A range of all of the outputs in the block
Type: blocksci.OutputIterator
-
prev_block
¶ Returns the block which comes before this one in the chain
Type: blocksci.Block
-
time
¶ Datetime object created from creation timestamp
Type: datetime.datetime
-
time_seen
¶ If recorded by the mempool recorder, the time that this block was first seen by your node
Type: Optional[datetime.datetime]
-
txes
¶ A range of all of the txes in the block
Type: blocksci.TxRange
-