Skip to content

btcli w transfer --all flag fails with UnknownError(UnknownType) #501

@distributedstatemachine

Description

Description:

Bug Description

The --all flag for btcli w transfer command fails with a Subtensor error, while manual amount specification works correctly.

Steps to Reproduce

  1. Run transfer command with --all flag:
btcli w transfer --wallet.name my_wallet --all --dest 5GrwvaEF5zXb26Fz9rcQpDWS57CtERHpNehXCPcNoHGKutQY

Expected Behavior

Transfer should proceed with the full wallet balance (minus fees)

Actual Behavior

Command fails with:

❌ Failed: Subtensor returned `UnknownError(UnknownType)` error. This means: `Unknown Description`.

Workaround

Manually specifying the amount works:

btcli w transfer --wallet.name my_wallet --dest 5GrwvaEF5zXb26Fz9rcQpDWS57CtERHpNehXCPcNoHGKutQY
# Then enter amount when prompted

Environment

  • Network: finney
  • btcli version: 9.5.1
  • OS: Darwin

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions