Trait bitcoin_onchain::ResolveUtxo[][src]

pub trait ResolveUtxo {
    fn resolve_utxo<'script>(
        &self,
        scripts: impl IntoIterator<Item = &'script Script> + Clone
    ) -> Result<Vec<HashSet<Utxo>>, UtxoResolverError>; fn resolve_descriptor_utxo(
        &self,
        secp: &Secp256k1<All>,
        descriptor: &Descriptor<TrackingAccount>,
        terminal_derivation: impl AsRef<[UnhardenedIndex]>,
        from_index: UnhardenedIndex,
        count: u32
    ) -> Result<BTreeMap<UnhardenedIndex, (Script, HashSet<Utxo>)>, UtxoResolverError> { ... } }
Expand description

UTXO resolver

Required methods

Finds UTXO set for the provided address lists

Provided methods

Finds UTXO set for the addresses derivable from the given descriptor

Implementors