Tx Range

class blocksci.AnyTxRange
all

Returns a list of all of the objects in the range

base_size

For each transaction: The size of the non-segwit data in bytes

block

For each transaction: The block that this transaction was in

block_height

For each transaction: The height of the block that this transaction was in

block_time

For each transaction: The time that the block containing this transaction arrived

change_output

For each transaction: If the change address in this transaction can be determined via the fresh address criteria, return it. Otherwise return None.

fee

For each transaction: The fee paid by this transaction

fee_per_byte(self: blocksci.blocksci_interface.AnyTxRange, size_measure: str='virtual') → list

For each transaction: 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

hash

For each transaction: The 256-bit hash of this transaction

index

For each transaction: The internal index of this transaction

input_count

For each transaction: The number of inputs this transaction has

input_value

For each transaction: The sum of the value of all of the inputs

inputs

A list of lists of the inputs of each transaction

is_coinbase

For each transaction: Return’s true if this transaction is a Coinbase transaction

locktime

For each transaction: The locktime of this transasction

op_return

For each transaction: If this transaction included a null data address, return its output. Otherwise return None

output_count

For each transaction: The number of outputs this transaction has

output_value

For each transaction: The sum of the value of all of the outputs

outputs

A list of lists of the outputs of each transaction

size_bytes

For each transaction: The size of this transaction in bytes

total_size

For each transaction: The size all transaction data in bytes

virtual_size

For each transaction: The weight of the transaction divided by 4

weight

For each transaction: Three times the base size plus the total size