We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fbd3910 commit 7f02039Copy full SHA for 7f02039
payjoin/src/receive/v1/mod.rs
@@ -763,10 +763,12 @@ pub struct PayjoinProposal {
763
}
764
765
impl PayjoinProposal {
766
+ /// The UTXOs that would be spent by this Payjoin transaction
767
pub fn utxos_to_be_locked(&self) -> impl '_ + Iterator<Item = &bitcoin::OutPoint> {
768
self.payjoin_psbt.unsigned_tx.input.iter().map(|input| &input.previous_output)
769
770
771
+ /// The Payjoin Proposal PSBT
772
pub fn psbt(&self) -> &Psbt { &self.payjoin_psbt }
773
774
0 commit comments