Function zebra_state::service::read::address::utxo::address_utxos

source ยท
pub fn address_utxos<C>(
    network: &Network,
    chain: Option<C>,
    db: &ZebraDb,
    addresses: HashSet<Address>,
) -> Result<AddressUtxos, BoxError>
where C: AsRef<Chain>,
Expand description

Returns the unspent transparent outputs (UTXOs) for the supplied transparent::Addresses, in chain order; and the transaction IDs for the transactions containing those UTXOs.

If the addresses do not exist in the non-finalized chain or finalized db, returns an empty list.