Input Range¶
-
class
blocksci.
AnyInputRange
¶ -
address
¶ For each input: The address linked to this input
-
address_type
¶ For each input: The address type of the input
-
age
¶ For each input: The number of blocks between the spent output and this input
-
all
¶ Returns a list of all of the objects in the range
-
block
¶ For each input: The block that contains this input
-
sent_after
(self: blocksci.blocksci_interface.AnyInputRange, arg0: int) → blocksci.blocksci_interface.AnyInputRange¶ Returns a range including the subset of inputs which spent an output created after the given height
-
sent_before
(self: blocksci.blocksci_interface.AnyInputRange, arg0: int) → blocksci.blocksci_interface.AnyInputRange¶ Returns a range including the subset of inputs which spent an output created before the given height
-
sent_outside
(self: blocksci.blocksci_interface.AnyInputRange, arg0: int) → blocksci.blocksci_interface.AnyInputRange¶ Returns a range including the subset of inputs which spent an output created less than a given number of blocks before the input
-
sent_within
(self: blocksci.blocksci_interface.AnyInputRange, arg0: int) → blocksci.blocksci_interface.AnyInputRange¶ Returns a range including the subset of inputs which spent an output created more than a given number of blocks before the input
-
sequence_num
¶ For each input: The sequence number of the input
-
spent_tx
¶ For each input: The transaction that this input spent
-
spent_tx_index
¶ For each input: The index of the transaction that this input spent
-
tx
¶ For each input: The transaction that contains this input
-
value
¶ For each input: The value in base currency attached to this input
-
with_type
(*args, **kwargs)¶ Overloaded function.
- with_type(self: blocksci.blocksci_interface.AnyInputRange, arg0: blocksci.blocksci_interface.address_type) -> blocksci.blocksci_interface.AnyInputRange
Return a range including only inputs sent to the given address type
- with_type(self: blocksci.blocksci_interface.AnyInputRange, arg0: blocksci.blocksci_interface.script_type) -> blocksci.blocksci_interface.AnyInputRange
Return a range including only inputs sent to the given script type
-