Optional Pubkey Address Range¶
-
class
blocksci.
PubkeyAddressOptionalRange
¶ -
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
-
find_multisigs
() → blocksci.AddressIterator¶ For each item: List of multisigs which include this public key
Return type: blocksci.AddressIterator
-
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
-
pubkey
¶ For each item: Public key for this address
Type: blocksci.BytesOptionalRange
-
pubkeyhash
¶ For each item: 160 bit address hash
Type: ranges::v3::any_view
-
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.PubkeyAddress) → blocksci.PubkeyAddressRange¶ Replace all none values in the sequence with the provided default value and return the resulting sequence
Type: PubkeyAddressRange
-
with_value
¶ Returns a sequence containing only non-None items in the sequence
Type: PubkeyAddressRange
-