Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 13 additions & 6 deletions bittensor_cli/src/commands/wallets.py
Original file line number Diff line number Diff line change
Expand Up @@ -848,12 +848,19 @@ def create_transfer_history_table(transfers: list[dict]) -> Table:


async def wallet_history(wallet: Wallet):
"""Check the transfer history of the provided wallet."""
print_verbose(f"Fetching history for wallet: {wallet.name}")
wallet_address = wallet.get_coldkeypub().ss58_address
transfers = await get_wallet_transfers(wallet_address)
table = create_transfer_history_table(transfers)
console.print(table)
"""Check the transfer history of the provided wallet.

Note: This command is currently disabled due to the Taostats API
requiring an API key which cannot be bundled with btcli.
See: https://github.com/opentensor/btcli/issues/235
"""
console.print(
"[yellow]The 'wallet history' command is currently disabled.[/yellow]\n\n"
"The Taostats API that this command relied on has changed and now requires "
"an API key, which cannot be feasibly bundled with btcli.\n\n"
"A chain-native solution is being investigated.\n"
"See: https://github.com/opentensor/btcli/issues/235"
)


async def wallet_list(
Expand Down