Cluster

class blocksci.cluster.Cluster

Class representing a cluster

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)

Return type:int
count_of_type(address_type: blocksci.address_type) → int

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

Return type:int
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

Return type:int
index

The internal identifier of the cluster

Type:int
ins() → List[blocksci.Input]

Returns a list of 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 this cluster was an output

Return type:int
outs() → blocksci.OutputIterator

Returns a list of all outputs sent to this cluster

Return type:blocksci.OutputIterator
size() → int

The number of addresses in the cluster

Return type:int
tagged_addresses(tagged_addresses: Dict[Address, str]) → blocksci.TaggedAddressIterator

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

Return type:blocksci.TaggedAddressIterator
txes() → List[blocksci.Tx]

Returns a list of all transactions involving this cluster

type_equiv_size

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

Type:int