Input Range¶
-
class
blocksci.InputRange¶ -
property
address¶ For each item: The address linked to this input
-
property
age¶ For each item: The number of blocks between the spent output and this input
- Type
numpy.ndarray[int]
-
property
block¶ For each item: The block that contains this input
- Type
-
property
index¶ For each item: The index inside this transaction’s inputs
- Type
numpy.ndarray[int]
-
sent_after_height(height: int) → blocksci.InputIterator¶ Filter the inputs to include only inputs which spent an output created after the given height
-
sent_before_height(height: int) → blocksci.InputIterator¶ Filter the inputs to include only inputs which spent an output created before the given height
-
property
sequence_num¶ For each item: The sequence number of the input
- Type
numpy.ndarray[int]
-
property
spent_output¶ For each item: The output that this input spent
- Type
-
property
spent_tx¶ For each item: The transaction that this input spent
- Type
-
property
spent_tx_index¶ For each item: The index of the transaction that this input spent
- Type
numpy.ndarray[int]
-
property
tx¶ For each item: The transaction that contains this input
- Type
-
property
tx_index¶ For each item: The tx index of this input’s transaction
- Type
numpy.ndarray[int]
-
property
value¶ For each item: The value in base currency attached to this input
- Type
numpy.ndarray[int]
-
with_address_type(typ: blocksci.address_type) → blocksci.InputIterator¶ Filter the inputs to include only inputs that came from an address with the given type
-
with_age_greater_than(age: int) → blocksci.InputIterator¶ Filter the inputs to include only inputs with age more than the given value
-
with_age_less_than(age: int) → blocksci.InputIterator¶ Filter the inputs to include only inputs with age less than the given value
-
property