Trait rgbwallet::InventoryWallet
source · pub trait InventoryWallet: Inventory {
// Provided method
fn pay(
&mut self,
invoice: RgbInvoice,
psbt: &mut Psbt,
method: CloseMethod
) -> Result<Bindle<Transfer>, PayError<Self::Error, <Self::Stash as Stash>::Error>>
where Self::Error: From<<Self::Stash as Stash>::Error> { ... }
}Provided Methods§
sourcefn pay(
&mut self,
invoice: RgbInvoice,
psbt: &mut Psbt,
method: CloseMethod
) -> Result<Bindle<Transfer>, PayError<Self::Error, <Self::Stash as Stash>::Error>>
fn pay( &mut self, invoice: RgbInvoice, psbt: &mut Psbt, method: CloseMethod ) -> Result<Bindle<Transfer>, PayError<Self::Error, <Self::Stash as Stash>::Error>>
Assumptions
- If PSBT output has BIP32 derivation information it belongs to our wallet - except when it matches address from the invoice.
Object Safety§
This trait is not object safe.