Address Range

class blocksci.AddressRange
address_num

For each item: The internal identifier of the address

Type:numpy.ndarray[uint32]
all

Returns a list of all of the objects in the range

balance(height: int=-1) → numpy.ndarray[int64]

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

Return type:numpy.ndarray[int64]
equiv(equiv_script: bool=True) → blocksci.EquivAddressRange

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

Return type:blocksci.EquivAddressRange
first_tx

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

Type:blocksci.TxRange
has_been_spent

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

Type:numpy.ndarray[NumpyBool]
in_txes_count() → numpy.ndarray[int64]

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

Return type:numpy.ndarray[int64]
out_txes_count() → numpy.ndarray[int64]

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

Return type:numpy.ndarray[int64]
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:numpy.ndarray[int64]
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:list
with_type(arg0: blocksci.address_type) → Union[blocksci.NonstandardAddressIterator, blocksci.PubkeyAddressIterator, blocksci.PubkeyHashAddressIterator, blocksci.MultisigPubkeyIterator, blocksci.ScriptHashAddressIterator, blocksci.MultisigAddressIterator, blocksci.OpReturnIterator, blocksci.WitnessPubkeyHashAddressIterator, blocksci.WitnessScriptHashAddressIterator]

Returns a range including the subset of addresses which have the given type

Return type:Union[blocksci.NonstandardAddressIterator, blocksci.PubkeyAddressIterator, blocksci.PubkeyHashAddressIterator, blocksci.MultisigPubkeyIterator, blocksci.ScriptHashAddressIterator, blocksci.MultisigAddressIterator, blocksci.OpReturnIterator, blocksci.WitnessPubkeyHashAddressIterator, blocksci.WitnessScriptHashAddressIterator]