Cluster

class blocksci.cluster.Cluster

Class representing a cluster

address_count()int

The number of addresses in the cluster

property addresses

Get a iterable over all the addresses in the cluster

Type

blocksci.AddressIterator

balance(height: int = - 1)int

Calculates the balance held by this cluster at the height (Defaults to the full chain)

count_of_type(address_type: blocksci.address_type)int

Return the number of addresses of the given type in the cluster

in_txes() → List[blocksci.Tx]

Returns a list of all transaction where this cluster was an input

in_txes_count()int

Return the number of transactions where this cluster was an input

property index

The internal identifier of the cluster

input_txes() → List[blocksci.Tx]

Returns a list of all transaction where this cluster was an input

input_txes_count()int

Return the number of transactions where this cluster was an input

inputs()blocksci.InputIterator

Returns an iterator over all inputs spent from this cluster

ins()blocksci.InputIterator

Returns an iterator over all inputs spent from this cluster

out_txes() → List[blocksci.Tx]

Returns a list of all transaction where this cluster was an output

out_txes_count()int

Return the number of transactions where an address in this cluster was used in an output

output_txes() → List[blocksci.Tx]

Returns a list of all transaction where this cluster was an output

output_txes_count()int

Return the number of transactions where an address in this cluster was used in an output

outputs()blocksci.OutputIterator

Returns an iterator over all outputs sent to this cluster

outs()blocksci.OutputIterator

Returns an iterator over all outputs sent to this cluster

tagged_addresses(tagged_addresses: Dict[Address, str])blocksci.cluster.TaggedAddressIterator

Given a dictionary of tags, return a range of TaggedAddress objects for any tagged addresses in the cluster

txes() → List[blocksci.Tx]

Returns a list of all transactions involving this cluster

property type_equiv_size

The number of addresses in the cluster not counting type equivalent addresses