Input Range

class blocksci.InputRange
address

For each item: The address linked to this input

Type:blocksci.AddressRange
address_type

For each item: The address type of the input

Type:list
age

For each item: The number of blocks between the spent output and this input

Type:numpy.ndarray[int32]
all

Returns a list of all of the objects in the range

block

For each item: The block that contains this input

Type:blocksci.BlockRange
index

For each item: The index index inside this input’s transaction

Type:numpy.ndarray[uint32]
sent_after_height()

Filter the inputs to include only inputs which spent an output created after the given height

Return type:blocksci.InputIterator
sent_before_height()

Filter the inputs to include only inputs which spent an output created before the given height

Return type:blocksci.InputIterator
sequence_num

For each item: The sequence number of the input

Type:numpy.ndarray[uint32]
spent_tx

For each item: The transaction that this input spent

Type:blocksci.TxRange
spent_tx_index

For each item: The index of the transaction that this input spent

Type:numpy.ndarray[uint32]
tx

For each item: The transaction that contains this input

Type:blocksci.TxRange
tx_index

For each item: The tx index of this input’s transaction

Type:numpy.ndarray[uint32]
value

For each item: The value in base currency attached to this input

Type:numpy.ndarray[int64]
with_address_type()

Filter the inputs to include only inputs that came from an address with the given type

Return type:blocksci.InputIterator
with_age_greater_than()

Filter the inputs to include only inputs with age more than the given value

Return type:blocksci.InputIterator
with_age_less_than()

Filter the inputs to include only inputs with age less than the given value

Return type:blocksci.InputIterator