Optional Tx Range¶
-
class
blocksci.
TxOptionalRange
¶ -
all
¶ Returns a list of all of the objects in the range
-
base_size
¶ For each item: The size of the non-segwit data in bytes
Type: blocksci.IntOptionalRange
-
block
¶ For each item: The block that this transaction was in
Type: blocksci.BlockOptionalRange
-
block_height
¶ For each item: The height of the block that this transaction was in
Type: blocksci.IntOptionalRange
-
block_time
¶ For each item: The time that the block containing this transaction arrived
Type: blocksci.DateOptionalRange
-
change_output
¶ For each item: If the change address in this transaction can be determined via the fresh address criteria, return it. Otherwise return None.
Type: blocksci.OutputOptionalRange
-
fee
¶ For each item: The fee paid by this transaction
Type: blocksci.IntOptionalRange
-
fee_per_byte
(size_measure: str='virtual') → blocksci.IntOptionalRange¶ For each item: The ratio of fee paid to size of this transaction. By default this uses veritual size, but passing total, base, weight, or virtual let’s you choose what measure of size you want
Return type: blocksci.IntOptionalRange
-
has_value
¶ Return a array of bools denoting whether a item in the sequence has a value or is none
Type: numpy.ndarray[bool]
-
hash
¶ For each item: The 256-bit hash of this transaction
Type: blocksci.UInt256OptionalRange
-
includes_output_of_type
(address_type: blocksci.address_type) → blocksci.BoolOptionalRange¶ For each item: Check whether the given transaction includes an output of the given address type
Return type: blocksci.BoolOptionalRange
-
index
¶ For each item: The internal index of this transaction
Type: blocksci.IntOptionalRange
-
input_count
¶ For each item: The number of inputs this transaction has
Type: blocksci.IntOptionalRange
-
input_value
¶ For each item: The sum of the value of all of the inputs
Type: blocksci.IntOptionalRange
-
inputs
¶ For each item: A list of the inputs of the transaction
Type: blocksci.InputIterator
-
ins
¶ For each item: A list of the inputs of the transaction
Type: blocksci.InputIterator
-
is_coinbase
¶ For each item: Return’s true if this transaction is a Coinbase transaction
Type: blocksci.BoolOptionalRange
-
locktime
¶ For each item: The locktime of this transasction
Type: blocksci.IntOptionalRange
-
observed_in_mempool
¶ For each item: Returns whether this transaction was seen in the mempool by the recorder
Type: blocksci.BoolOptionalRange
-
op_return
¶ For each item: If this transaction included a null data address, return its output. Otherwise return None
Type: blocksci.OutputOptionalRange
-
output_count
¶ For each item: The number of outputs this transaction has
Type: blocksci.IntOptionalRange
-
output_value
¶ For each item: The sum of the value of all of the outputs
Type: blocksci.IntOptionalRange
-
outputs
¶ For each item: A list of the outputs of the transaction
Type: blocksci.OutputIterator
-
outs
¶ For each item: A list of the outputs of the transaction
Type: blocksci.OutputIterator
-
size_bytes
¶ For each item: The size of this transaction in bytes
Type: blocksci.IntOptionalRange
-
time_seen
¶ For each item: If recorded by the mempool recorder, the time that this transaction was first seen by your node
Type: blocksci.DateOptionalRange
-
total_size
¶ For each item: The size all transaction data in bytes
Type: blocksci.IntOptionalRange
-
virtual_size
¶ For each item: The weight of the transaction divided by 4
Type: blocksci.IntOptionalRange
-
weight
¶ For each item: Three times the base size plus the total size
Type: blocksci.IntOptionalRange
-