Pubkey Script

class blocksci.PubkeyScript

Extra data about pay to pubkey address

address_string

Bitcoin address string

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)

first_tx

Get the first transaction that was sent to this address

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

pubkey

Public key for this address

pubkeyhash

160 bit address hash

revealed_tx

The transaction where this wrapped script was first revealed

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