Output Range

class blocksci.AnyOutputRange
address

For each output: This address linked to this output

address_type

For each output: The address type of the output

all

Returns a list of all of the objects in the range

block

For each output: The block that contains this input

is_spent

For each output: Returns whether this output has been spent

spending_tx

For each output: Returns the transaction that spent this output or None if it is unspent

spending_tx_index

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

spent_after(self: blocksci.blocksci_interface.AnyOutputRange, arg0: int) → blocksci.blocksci_interface.AnyOutputRange

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

spent_before(self: blocksci.blocksci_interface.AnyOutputRange, arg0: int) → blocksci.blocksci_interface.AnyOutputRange

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

spent_outside(self: blocksci.blocksci_interface.AnyOutputRange, arg0: int) → blocksci.blocksci_interface.AnyOutputRange

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

spent_within(self: blocksci.blocksci_interface.AnyOutputRange, arg0: int) → blocksci.blocksci_interface.AnyOutputRange

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

tx

For each output: The transaction that contains this input

unspent

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

value

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

with_type(*args, **kwargs)

Overloaded function.

  1. with_type(self: blocksci.blocksci_interface.AnyOutputRange, arg0: blocksci.blocksci_interface.address_type) -> blocksci.blocksci_interface.AnyOutputRange

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

  1. with_type(self: blocksci.blocksci_interface.AnyOutputRange, arg0: blocksci.blocksci_interface.script_type) -> blocksci.blocksci_interface.AnyOutputRange

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