Errors/Chain errors

NotEnoughStakeToWithdraw

Lower the amount or use the hotkey that actually holds the stake (`btcli stake list`); lock target and stake hotkey can differ

View as Markdown

An unstake, stake move, swap, or transfer requested more alpha than the hotkey-coldkey pair holds on that subnet. Compare the requested amount against that specific position (btcli stake list) — conviction locks are coldkey-wide, so stake may sit on a different hotkey than the lock target; move stake onto the origin hotkey first or pass the hotkey that actually holds the balance.

Declared by the SubtensorModule pallet; it classifies to the semantic code insufficient_balance.

Declared at pallets/subtensor/src/macros/errors.rs#L32.

Remediation

Lower the amount or use the hotkey that actually holds the stake (btcli stake list); lock target and stake hotkey can differ

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