Errors/Chain errors

InvalidLiquidityValue

Check the argument values against the operation schema

View as Markdown

Legacy error from the removed V3 user-liquidity code, raised when an added or removed liquidity amount was below the pallet's MinimumLiquidity. Not raised on current runtimes; on older ones compare the liquidity argument to MinimumLiquidity.

Declared by the Swap pallet; it classifies to the semantic code invalid_argument.

Remediation

Check the argument values against the operation schema

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