Function fuel_core::coins_query::largest_first

source ·
pub fn largest_first(
    query: &AssetQuery<'_>,
) -> Result<Vec<CoinType>, CoinsQueryError>
Expand description

Returns the biggest inputs of the owner to satisfy the required target of the asset. The number of inputs for each asset can’t exceed max_inputs, otherwise throw an error that query can’t be satisfied.