Optional Address Range

class blocksci.AddressOptionalRange
address_num

For each item: The internal identifier of the address

Type:blocksci.IntOptionalRange
all

Returns a list of all of the objects in the range

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

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

Return type:blocksci.IntOptionalRange
equiv(equiv_script: bool=True) → blocksci.EquivAddressOptionalRange

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

Return type:blocksci.EquivAddressOptionalRange
first_tx

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

Type:blocksci.TxOptionalRange
has_been_spent

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

Type:blocksci.BoolOptionalRange
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_txes_count() → blocksci.IntOptionalRange

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

Return type:blocksci.IntOptionalRange
out_txes_count() → blocksci.IntOptionalRange

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

Return type:blocksci.IntOptionalRange
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.IntOptionalRange
revealed_tx

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

Type:blocksci.TxOptionalRange
type

For each item: The type of address

Type:blocksci.AddressTypeOptionalRange
with_default_value(default_value: AnyAddress) → blocksci.AddressRange

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

Type:AddressRange
with_value

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

Type:AddressRange