Output

class blocksci.Output

Class representing a transaction output

address

This address linked to this output

Type:Address
address_type

The address type of the output

Type:blocksci.address_type
block

The block that contains this input

Type:blocksci.Block
index

The output index inside this output’s transaction

Type:int
is_spent

Returns whether this output has been spent

Type:bool
spending_tx

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

Type:Optional[blocksci.Tx]
spending_tx_index

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

Type:Optional[int]
tx

The transaction that contains this input

Type:blocksci.Tx
tx_index

The tx index of this output’s transaction

Type:int
value

The value in base currency attached to this output

Type:int