Script

class blocksci.Script

Class representing a script which coins are sent to

balance(self: blocksci.blocksci_interface.Script, height: int=0) → int

Calculates the balance held by this script at the height (Defaults to the full chain)

in_txes(self: blocksci.blocksci_interface.Script) → List[blocksci::Transaction]

Returns a list of all transaction where this script was an input

ins(self: blocksci.blocksci_interface.Script) → List[blocksci::Input]

Returns a list of all inputs spent from this script

out_txes(self: blocksci.blocksci_interface.Script) → List[blocksci::Transaction]

Returns a list of all transaction where this script was an output

outs(self: blocksci.blocksci_interface.Script) → List[blocksci::Output]

Returns a list of all outputs sent to this script

script

Returns the script data associated with this script

txes(self: blocksci.blocksci_interface.Script) → List[blocksci::Transaction]

Returns a list of all transactions involving this script