Transactions
reset-axon
Reset (stop serving) this hotkey's axon endpoint on a subnet.
Republishes the axon record as a placeholder (ip 0, port 1, protocol 4) so
validators stop routing traffic to the old address; the storage entry is
not removed. Signed by the hotkey. Use this when taking a miner offline or
before moving it, then publish the new address with serve_axon when it
is back up.
| Signer | Pallet | Wraps |
|---|---|---|
hotkey | SubtensorModule | SubtensorModule.serve_axon |
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
netuid | integer | yes | Subnet whose published axon endpoint to clear. |
Address parameters (--hotkey, --coldkey, --dest, ...) accept a raw ss58
address, an address-book or proxy-book name, or a local wallet/hotkey name.
CLI
Preview with --dry-run (shows fee, effects, and policy result without
submitting), then submit:
btcli tx reset-axon \
--netuid <int> --dry-run
btcli tx reset-axon \
--netuid <int> -w my_coldkeyPython
import bittensor as sub
from bittensor.wallet import Wallet
wallet = Wallet(name="my_coldkey", hotkey="my_hotkey")
intent = sub.ResetAxon(netuid=1)
async with sub.Client("finney") as client:
plan = await client.plan(intent, wallet) # fee, effects, policy — no submission
result = await client.execute(intent, wallet)
if not result.success:
print(result.error.code, result.error.remediation)Or build it by op name, as an agent would:
await client.execute_tool("reset_axon", {...}, wallet)