Optional Output Iterator

class blocksci.OutputOptionalIterator
address

For each item: This address linked to this output

Type:blocksci.AddressOptionalIterator
address_type

For each item: The address type of the output

Type:blocksci.AddressTypeOptionalIterator
all

Returns a list of all of the objects in the range

block

For each item: The block that contains this input

Type:blocksci.BlockOptionalIterator
has_value

Return a array of bools denoting whether a item in the sequence has a value or is none

Type:numpy.ndarray[bool]
index

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

Type:blocksci.IntOptionalIterator
is_spent

For each item: Returns whether this output has been spent

Type:blocksci.BoolOptionalIterator
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
tx

For each item: The transaction that contains this input

Type:blocksci.TxOptionalIterator
tx_index

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

Type:blocksci.IntOptionalIterator
value

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

Type:blocksci.IntOptionalIterator
with_default_value(default_value: blocksci.Output) → blocksci.OutputIterator

Replace all none values in the sequence with the provided default value and return the resulting sequence

Type:OutputIterator
with_value

Returns a sequence containing only non-None items in the sequence

Type:OutputIterator