Output Iterator

class blocksci.OutputIterator
address

For each item: This address linked to this output

Type:blocksci.AddressIterator
address_type

For each item: The address type of the output

Type:list
all

Returns a list of all of the objects in the range

block

For each item: The block that contains this input

Type:blocksci.BlockIterator
index

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

Type:numpy.ndarray[uint32]
is_spent

For each item: Returns whether this output has been spent

Type:numpy.ndarray[NumpyBool]
spending_tx

For each item: The transaction that spent this output or None if it is unspent

Type:blocksci.TxOptionalIterator
spending_tx_index

For each item: Returns the index of the tranasction which spent this output or 0 if it is unspent

Type:blocksci.IntOptionalIterator
spent_after_height(height: int) → blocksci.OutputIterator

Returns a range including the subset of outputs which were spent after the given height

Return type:blocksci.OutputIterator
spent_before_height(height: int) → blocksci.OutputIterator

Returns a range including the subset of outputs which were spent before the given height

Return type:blocksci.OutputIterator
spent_with_age_greater_than(age: int) → blocksci.OutputIterator

Returns a range including the subset of outputs which were spent later than the given number of blocks

Return type:blocksci.OutputIterator
spent_with_age_less_than(age: int) → blocksci.OutputIterator

Returns a range including the subset of outputs which were spent within the given number of blocks

Return type:blocksci.OutputIterator
tx

For each item: The transaction that contains this input

Type:blocksci.TxIterator
tx_index

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

Type:numpy.ndarray[uint32]
unspent

Returns a range including the subset of outputs which were never spent

Type:blocksci.OutputIterator
value

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

Type:numpy.ndarray[int64]
with_type(type: blocksci.address_type) → blocksci.OutputIterator

Returns a range including the subset of outputs which were sent to the given address type

Return type:blocksci.OutputIterator