FuelLabs/fuel-core · error
No result for the coins to spend
Error message
No result for the coins to spend
What it means
Error "No result for the coins to spend" thrown in FuelLabs/fuel-core.
Source
Thrown at crates/fuel-core/src/schema/tx/assemble_tx.rs:131
max: None,
allow_partial: Some(allow_partial),
};
let result = self
.read_view
.coins_to_spend(
owner,
&[query_per_asset],
&self.exclude,
&self.consensus_parameters,
remaining_input_slots,
)
.await?
.into_iter()
.next();
let result =
result.ok_or_else(|| anyhow::anyhow!("No result for the coins to spend"))?;
Ok(result)
}
/// Dry run the transaction to estimate the script gas limit.
/// It uses zero gas price to not depend on the coins to cover the fee.
async fn dry_run(
&self,
script: Script,
) -> anyhow::Result<(Transaction, TransactionExecutionStatus)> {
self.block_producer
.dry_run_txs(vec![script.into()], None, None, Some(false), Some(0), false)
.await?
.transactions
.into_iter()
.next()
.ok_or_else(|| anyhow::anyhow!("No result for the dry run"))
}View on GitHub (pinned to b9d4d170da)
When it happens
Trigger: Thrown at crates/fuel-core/src/schema/tx/assemble_tx.rs:131 when the library encounters an invalid state.
Common situations: See trigger scenarios.
AI-assisted analysis of FuelLabs/fuel-core@b9d4d170da (2026-08-16).
Data as JSON: /api/errors/7df74c8e97712fe2.
Report an issue: GitHub.