Tx Range¶
-
class
blocksci.TxRange¶ -
property
base_size¶ For each item: The size of the non-segwit data in bytes
- Type
numpy.ndarray[int]
-
property
block¶ For each item: The block that this transaction was in
- Type
-
property
block_height¶ For each item: The height of the block that this transaction was in
- Type
numpy.ndarray[int]
-
property
block_time¶ For each item: The time that the block containing this transaction arrived
- Type
numpy.ndarray[datetime64[ns]]
-
property
fee¶ For each item: The fee paid by this transaction
- Type
numpy.ndarray[int]
-
fee_per_byte(size_measure: str = 'virtual') → numpy.ndarray[int]¶ For each item: The (rounded) ratio of fee paid to size of this transaction (in byte). By default this uses virtual size, but passing total, base, weight, or virtual let’s you choose a different size measure
-
fee_per_kbyte(size_measure: str = 'virtual') → numpy.ndarray[int]¶ For each item: The (rounded) ratio of fee paid to size of this transaction (in kbyte). By default this uses virtual size, but passing total, base, weight, or virtual let’s you choose a different size measure
-
property
hash¶ For each item: The 256-bit hash of this transaction
- Type
numpy.ndarray[S64]
-
includes_output_of_type(address_type: blocksci::AddressType::Enum) → numpy.ndarray[bool]¶ For each item: Check whether the given transaction includes an output of the given address type
-
property
index¶ For each item: The internal index of this transaction
- Type
numpy.ndarray[int]
-
property
input_count¶ For each item: The number of inputs this transaction has
- Type
numpy.ndarray[int]
-
property
input_value¶ For each item: The sum of the value of all of the inputs
- Type
numpy.ndarray[int]
-
property
inputs¶ For each item: A list of the inputs of the transaction
-
property
ins¶ For each item: A list of the inputs of the transaction
-
property
is_coinbase¶ For each item: Return’s true if this transaction is a Coinbase transaction
- Type
numpy.ndarray[bool]
-
property
locktime¶ For each item: The locktime of this transasction
- Type
numpy.ndarray[int]
-
property
observed_in_mempool¶ For each item: Returns whether this transaction was seen in the mempool by the recorder
- Type
numpy.ndarray[bool]
-
property
op_return¶ For each item: If this transaction included a null data address, return its output. Otherwise return None
-
property
output_count¶ For each item: The number of outputs this transaction has
- Type
numpy.ndarray[int]
-
property
output_value¶ For each item: The sum of the value of all of the outputs
- Type
numpy.ndarray[int]
-
property
outputs¶ For each item: A list of the outputs of the transaction
-
property
outs¶ For each item: A list of the outputs of the transaction
-
property
size_bytes¶ For each item: The size of this transaction in bytes
- Type
numpy.ndarray[int]
-
property
time_seen¶ For each item: If recorded by the mempool recorder, the time that this transaction was first seen by your node
- Type
numpy.ndarray[datetime64[ns]]
-
property
timestamp_seen¶ For each item: If recorded by the mempool recorder, the time that this transaction was first seen by your node
- Type
numpy.ndarray[int]
-
property
total_size¶ For each item: The size all transaction data in bytes
- Type
numpy.ndarray[int]
-
property
version¶ For each item: The version of this transaction
- Type
numpy.ndarray[int]
-
property
virtual_size¶ For each item: The weight of the transaction divided by 4
- Type
numpy.ndarray[int]
-
property
weight¶ For each item: Three times the base size plus the total size
- Type
numpy.ndarray[int]
-
property