Function fuel_core::resource_query::largest_first
source · pub fn largest_first(
query: &AssetQuery<'_>
) -> Result<Vec<Resource<Coin, Message>>, ResourceQueryError>
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.