Optional Input Iterator

class blocksci.InputOptionalIterator
address

For each item: The address linked to this input

Type:blocksci.AddressOptionalIterator
address_type

For each item: The address type of the input

Type:blocksci.AddressTypeOptionalIterator
age

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

Type:blocksci.IntOptionalIterator
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 index index inside this input’s transaction

Type:blocksci.IntOptionalIterator
sequence_num

For each item: The sequence number of the input

Type:blocksci.IntOptionalIterator
spent_tx

For each item: The transaction that this input spent

Type:blocksci.TxOptionalIterator
spent_tx_index

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

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 input’s transaction

Type:blocksci.IntOptionalIterator
value

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

Type:blocksci.IntOptionalIterator
with_default_value(default_value: blocksci.Input) → blocksci.InputIterator

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

Type:InputIterator
with_value

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

Type:InputIterator