Optional Witness Scripthash Address Range

class blocksci.WitnessScriptHashAddressOptionalRange
address_num

For each item: The internal identifier of the address

Type:blocksci.IntOptionalRange
address_string

For each item: Bitcoin address string

Type:ranges::v3::any_view
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_address

For each item: The 160 bit P2SH address hash

Type:blocksci.UInt256OptionalRange
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: blocksci.WitnessScriptHashAddress) → blocksci.WitnessScriptHashAddressRange

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

Type:WitnessScriptHashAddressRange
with_value

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

Type:WitnessScriptHashAddressRange
wrapped_address

For each item: The address inside this P2SH address

Type:blocksci.AddressOptionalRange