Address Range¶
-
class
blocksci.
GenericAddressRange
¶ Bases:
blocksci.GenericRange
Class representing any Address range
-
property
address_num
¶ For each item: The internal identifier of the address
- Type
numpy.ndarray[int]
-
balance
(height: int = - 1) → numpy.ndarray[int]¶ For each item: Calculates the balance held by this address at the height (Defaults to the full chain)
-
equiv
(equiv_script: bool = True) → blocksci.EquivAddressRange¶ For each item: Returns a list of all addresses equivalent to this address
-
property
first_tx
¶ For each item: Get the first transaction that was sent to a type equivalent address
- Type
-
property
has_been_spent
¶ For each item: Check if a type equivalent address has ever been spent
- Type
numpy.ndarray[bool]
-
property
in_txes
¶ For each item: Returns an iterator over all transactions where this address appeared an input
- Type
-
in_txes_count
() → numpy.ndarray[int]¶ For each item: Return the number of transactions where this address appeared in an input
-
property
input_txes
¶ For each item: Returns an iterator over all transactions where this address appeared an input
- Type
-
input_txes_count
() → numpy.ndarray[int]¶ For each item: Return the number of transactions where this address was an input
-
property
inputs
¶ For each item: Returns an iterator over all inputs spent from this address
-
property
ins
¶ For each item: Returns an iterator over all inputs spent from this address
-
property
out_txes
¶ For each item: Returns an iterator over all transactions where this address appeared in an output
- Type
-
out_txes_count
() → numpy.ndarray[int]¶ For each item: Return the number of transactions where this address appeared in an output
-
property
output_txes
¶ For each item: Returns an iterator over all transactions where this address appeared in an output
- Type
-
output_txes_count
() → numpy.ndarray[int]¶ For each item: Return the number of transactions where this address appeared in an output
-
property
outputs
¶ For each item: Returns a iterator over all outputs sent to this address
-
property
outs
¶ For each item: Returns a iterator over all outputs sent to this address
-
property
raw_type
¶ For each item: The type of address
- Type
numpy.ndarray[int]
-
property
revealed_tx
¶ For each item: The transaction where a type equivalent address was first revealed
- Type
-
property
txes
¶ For each item: Returns an iterator over all transactions involving this address
- Type
-
property
-
class
blocksci.
AddressRange
¶ Bases:
blocksci.AddressSequence
,blocksci.GenericAddressRange
-
with_type
(arg0: blocksci::AddressType::Enum) → Union[blocksci.NonstandardAddressIterator, blocksci.PubkeyAddressIterator, blocksci.PubkeyHashAddressIterator, blocksci.MultisigPubkeyIterator, blocksci.ScriptHashAddressIterator, blocksci.MultisigAddressIterator, blocksci.OpReturnIterator, blocksci.WitnessPubkeyHashAddressIterator, blocksci.WitnessScriptHashAddressIterator, blocksci.WitnessUnknownAddressIterator]¶ For each item: If the address has the given type return it, otherwise return None
-