Errors/Chain errors

SwapReturnedZero

The pool cannot absorb this trade; reduce the amount or split it into smaller steps

View as Markdown

The netted pool swap in execute_batched_orders produced zero output for a non-zero input, meaning the pool lacks liquidity or the derived price limit clamped the swap entirely. Check the subnet pool's reserves and the batch's tightest slippage-derived price limit.

Declared by the LimitOrders pallet; it classifies to the semantic code insufficient_liquidity.

Remediation

The pool cannot absorb this trade; reduce the amount or split it into smaller steps

The same explanation is available in the terminal: btcli explain SwapReturnedZero.