Output

class blocksci.Output

Class representing a transaction output

property address

This address linked to this output

Type

blocksci.Address

property address_type

The address type of the output

property block

The block that contains this input

property index

The output index inside this output’s transaction

property is_spent

Returns whether this output has been spent

property spending_input

The input that spent this output or None if it is unspent

property spending_tx

The transaction that spent this output or None if it is unspent

property spending_tx_index

Returns the index of the tranasction which spent this output or 0 if it is unspent

property tx

The transaction that contains this input

property tx_index

The tx index of this output’s transaction

property value

The value in base currency attached to this output