Transactions
set-mechanism-emission-split
Set emission split between mechanisms on a subnet.
Owner-only: divides the subnet's emission between its mechanisms, one
entry per mechanism in order. Entries with a decimal point are relative
weights (e.g. [0.5, 0.5] or [3.0, 1.0]), normalized to the exact
u16 split the chain requires; plain integers are raw u16 weights and must
sum to exactly 65,535 themselves. The list may be at most as long as the
subnet's current mechanism count (see set_mechanism_count) — a
shorter list leaves the trailing mechanisms with zero. Changing the
split reallocates future emission only — nothing already emitted moves.
| Signer | Pallet | Wraps |
|---|---|---|
coldkey | AdminUtils | AdminUtils.sudo_set_mechanism_emission_split |
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
netuid | integer | yes | Subnet to configure; the signer must be its owner. |
split | array | yes | Emission weights in mechanism order, at most one entry per mechanism: relative weights with a decimal point (normalized for you, e.g. [0.5, 0.5]), or raw u16 integers summing to exactly 65,535. |
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 set-mechanism-emission-split \
--netuid <int> \
--split <a,b,c> --dry-run
btcli tx set-mechanism-emission-split \
--netuid <int> \
--split <a,b,c> -w my_coldkeyPython
import bittensor as sub
from bittensor.wallet import Wallet
wallet = Wallet(name="my_coldkey", hotkey="my_hotkey")
intent = sub.SetMechanismEmissionSplit(netuid=1, split=[...])
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("set_mechanism_emission_split", {...}, wallet)