Trait psbt::InputPrevout [−][src]
pub trait InputPrevout {
fn input_prevout(&self, txin: &TxIn) -> Result<&TxOut, InputMatchError>;
}
Expand description
API for accessing previous transaction output data
Required methods
fn input_prevout(&self, txin: &TxIn) -> Result<&TxOut, InputMatchError>
fn input_prevout(&self, txin: &TxIn) -> Result<&TxOut, InputMatchError>
Returns TxOut
reference returned by resolver, if any, or reports
specific matching error prevented from getting the output