Optional Input Range

class blocksci.InputOptionalRange
address

For each item: The address linked to this input

Type:blocksci.AddressOptionalRange
address_type

For each item: The address type of the input

Type:blocksci.AddressTypeOptionalRange
age

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

Type:blocksci.IntOptionalRange
all

Returns a list of all of the objects in the range

block

For each item: The block that contains this input

Type:blocksci.BlockOptionalRange
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.IntOptionalRange
sequence_num

For each item: The sequence number of the input

Type:blocksci.IntOptionalRange
spent_tx

For each item: The transaction that this input spent

Type:blocksci.TxOptionalRange
spent_tx_index

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

Type:blocksci.IntOptionalRange
tx

For each item: The transaction that contains this input

Type:blocksci.TxOptionalRange
tx_index

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

Type:blocksci.IntOptionalRange
value

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

Type:blocksci.IntOptionalRange
with_default_value(default_value: blocksci.Input) → blocksci.InputRange

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

Type:InputRange
with_value

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

Type:InputRange