Optional Nonstandard Address Iterator

class blocksci.NonstandardAddressOptionalIterator
address_num

For each item: The internal identifier of the address

Type:blocksci.IntOptionalIterator
all

Returns a list of all of the objects in the range

balance(height: int=-1) → blocksci.IntOptionalIterator

For each item: Calculates the balance held by this address at the height (Defaults to the full chain)

Return type:blocksci.IntOptionalIterator
equiv(equiv_script: bool=True) → blocksci.EquivAddressOptionalIterator

For each item: Returns a list of all addresses equivalent to this address

Return type:blocksci.EquivAddressOptionalIterator
first_tx

For each item: Get the first transaction that was sent to a type equivalent address

Type:blocksci.TxOptionalIterator
has_been_spent

For each item: Check if a type equivalent address has ever been spent

Type:blocksci.BoolOptionalIterator
has_value

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

Type:numpy.ndarray[bool]
in_script

For each item: Nonstandard input script

Type:ranges::v3::any_view
in_txes_count() → blocksci.IntOptionalIterator

For each item: Return the number of transactions where this address was an input

Return type:blocksci.IntOptionalIterator
out_script

For each item: Nonstandard output script

Type:ranges::v3::any_view
out_txes_count() → blocksci.IntOptionalIterator

For each item: Return the number of transactions where this address was an output

Return type:blocksci.IntOptionalIterator
outs

For each item: Returns a range of all outputs sent to this address

Type:blocksci.OutputIterator
raw_type

For each item: The type of address

Type:blocksci.IntOptionalIterator
revealed_tx

For each item: The transaction where a type equivalent address was first revealed

Type:blocksci.TxOptionalIterator
type

For each item: The type of address

Type:blocksci.AddressTypeOptionalIterator
with_default_value(default_value: blocksci.NonStandardAddress) → blocksci.NonstandardAddressIterator

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

Type:NonstandardAddressIterator
with_value

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

Type:NonstandardAddressIterator