Extrinsics
The following sections contain Extrinsic methods that are part of the Subtensor runtime. On the API, these are exposed via api.tx.<Pallet>.<call_name>.
Generated from a live snapshot of the Subtensor runtime on 2026-04-24. Connected to: wss://entrypoint-finney.opentensor.ai:443
- adminUtils
- balances
- baseFee
- commitments
- contracts
- crowdloan
- drand
- ethereum
- evm
- grandpa
- mevShield
- multisig
- preimage
- proxy
- registry
- safeMode
- scheduler
- subtensorModule
- sudo
- swap
- system
- timestamp
- utility
adminUtils
scheduleGrandpaChange(next_authorities: AuthorityList, in_blocks: u32, forced: Option<BlockNumberFor<T>>)
-
interface:
api.tx.adminUtils.scheduleGrandpaChange -
summary: A public interface for
pallet_grandpa::Pallet::schedule_grandpa_change.Schedule a change in the authorities.
The change will be applied at the end of execution of the block
in_blocksafter the current block. This value may be 0, in which case the change is applied at the end of the current block.If the
forcedparameter is defined, this indicates that the current set has been synchronously determined to be offline and that afterin_blocksthe given change should be applied. The given block number indicates the median last finalized block number and it should be used as the canon block when starting the new grandpa voter.No change should be signaled while any change is pending. Returns an error if a change is already pending.
sudoSetActivityCutoff(netuid: NetUid, activity_cutoff: u16)
- interface:
api.tx.adminUtils.sudoSetActivityCutoff - summary: The extrinsic sets the activity cutoff for a subnet. It is only callable by the root account or subnet owner. The extrinsic will call the Subtensor pallet to set the activity cutoff.
sudoSetAdjustmentAlpha(netuid: NetUid, adjustment_alpha: u64)
- interface:
api.tx.adminUtils.sudoSetAdjustmentAlpha - summary: The extrinsic sets the adjustment alpha for a subnet. It is only callable by the root account or subnet owner. The extrinsic will call the Subtensor pallet to set the adjustment alpha.
sudoSetAdjustmentInterval(netuid: NetUid, adjustment_interval: u16)
- interface:
api.tx.adminUtils.sudoSetAdjustmentInterval - summary: The extrinsic sets the adjustment interval for a subnet. It is only callable by the root account, not changeable by the subnet owner. The extrinsic will call the Subtensor pallet to set the adjustment interval.
sudoSetAdminFreezeWindow(window: u16)
- interface:
api.tx.adminUtils.sudoSetAdminFreezeWindow - summary: Sets the admin freeze window length (in blocks) at the end of a tempo. Only callable by root.
sudoSetAlphaSigmoidSteepness(netuid: NetUid, steepness: i16)
-
interface:
api.tx.adminUtils.sudoSetAlphaSigmoidSteepness -
summary: Arguments:
origin— The origin of the call, which must be the root account.netuid— The unique identifier for the subnet.steepness— The Steepness for the alpha sigmoid function. (range is 0-int16::MAX, negative values are reserved for future use)
Errors:
BadOrigin— If the caller is not the root account.SubnetDoesNotExist— If the specified subnet does not exist.NegativeSigmoidSteepness— If the steepness is negative and the caller is root.
Weight:
Weight is handled by the
#[pallet::weight]attribute.
sudoSetAlphaValues(netuid: NetUid, alpha_low: u16, alpha_high: u16)
- interface:
api.tx.adminUtils.sudoSetAlphaValues - summary: Sets values for liquid alpha
sudoSetBondsMovingAverage(netuid: NetUid, bonds_moving_average: u64)
- interface:
api.tx.adminUtils.sudoSetBondsMovingAverage - summary: The extrinsic sets the bonds moving average for a subnet. It is only callable by the root account or subnet owner. The extrinsic will call the Subtensor pallet to set the bonds moving average.
sudoSetBondsPenalty(netuid: NetUid, bonds_penalty: u16)
- interface:
api.tx.adminUtils.sudoSetBondsPenalty - summary: The extrinsic sets the bonds penalty for a subnet. It is only callable by the root account or subnet owner. The extrinsic will call the Subtensor pallet to set the bonds penalty.
sudoSetBondsResetEnabled(netuid: NetUid, enabled: bool)
-
interface:
api.tx.adminUtils.sudoSetBondsResetEnabled -
summary: Enables or disables Bonds Reset for a given subnet.
Parameters:
origin: The origin of the call, which must be the root account or subnet owner.netuid: The unique identifier for the subnet.enabled: A boolean flag to enable or disable Bonds Reset.
Weight:
This function has a fixed weight of 0 and is classified as an operational transaction that does not incur any fees.
sudoSetBurnHalfLife(netuid: NetUid, burn_half_life: u16)
- interface:
api.tx.adminUtils.sudoSetBurnHalfLife - summary: Set BurnHalfLife for a subnet. It is only callable by root and subnet owner.
sudoSetBurnIncreaseMult(netuid: NetUid, burn_increase_mult: U64F64)
- interface:
api.tx.adminUtils.sudoSetBurnIncreaseMult - summary: Set BurnIncreaseMult for a subnet. It is only callable by root and subnet owner.
sudoSetCkBurn(burn: u64)
- interface:
api.tx.adminUtils.sudoSetCkBurn - summary: Sets the childkey burn for a subnet. It is only callable by the root account. The extrinsic will call the Subtensor pallet to set the childkey burn.
sudoSetColdkeySwapAnnouncementDelay(duration: u32)
- interface:
api.tx.adminUtils.sudoSetColdkeySwapAnnouncementDelay - summary: Sets the announcement delay for coldkey swap.
sudoSetColdkeySwapReannouncementDelay(duration: u32)
- interface:
api.tx.adminUtils.sudoSetColdkeySwapReannouncementDelay - summary: Sets the coldkey swap reannouncement delay.
sudoSetCommitRevealVersion(version: u16)
- interface:
api.tx.adminUtils.sudoSetCommitRevealVersion - summary: Sets the commit-reveal weights version for all subnets
sudoSetCommitRevealWeightsEnabled(netuid: NetUid, enabled: bool)
- interface:
api.tx.adminUtils.sudoSetCommitRevealWeightsEnabled - summary: The extrinsic enabled/disables commit/reaveal for a given subnet. It is only callable by the root account or subnet owner. The extrinsic will call the Subtensor pallet to set the value.
sudoSetCommitRevealWeightsInterval(netuid: NetUid, interval: u64)
-
interface:
api.tx.adminUtils.sudoSetCommitRevealWeightsInterval -
summary: Sets the commit-reveal weights periods for a specific subnet.
This extrinsic allows the subnet owner or root account to set the duration (in epochs) during which committed weights must be revealed. The commit-reveal mechanism ensures that users commit weights in advance and reveal them only within a specified period.
Arguments:
origin— The origin of the call, which must be the subnet owner or the root account.netuid— The unique identifier of the subnet for which the periods are being set.periods— The number of epochs that define the commit-reveal period.
Errors:
BadOrigin— If the caller is neither the subnet owner nor the root account.SubnetDoesNotExist— If the specified subnet does not exist.
Weight:
Weight is handled by the
#[pallet::weight]attribute.
sudoSetDefaultTake(default_take: u16)
- interface:
api.tx.adminUtils.sudoSetDefaultTake - summary: The extrinsic sets the default take for the network. It is only callable by the root account. The extrinsic will call the Subtensor pallet to set the default take.
sudoSetDifficulty(netuid: NetUid, difficulty: u64)
- interface:
api.tx.adminUtils.sudoSetDifficulty - summary: The extrinsic sets the difficulty for a subnet. It is only callable by the root account or subnet owner. The extrinsic will call the Subtensor pallet to set the difficulty.
sudoSetDissolveNetworkScheduleDuration(duration: u32)
-
interface:
api.tx.adminUtils.sudoSetDissolveNetworkScheduleDuration -
summary: Sets the duration of the dissolve network schedule.
This extrinsic allows the root account to set the duration for the dissolve network schedule. The dissolve network schedule determines how long it takes for a network dissolution operation to complete.
Arguments:
origin— The origin of the call, which must be the root account.duration— The new duration for the dissolve network schedule, in number of blocks.
Errors:
BadOrigin— If the caller is not the root account.
Weight:
Weight is handled by the
#[pallet::weight]attribute.
sudoSetEmaPriceHalvingPeriod(netuid: NetUid, ema_halving: u64)
-
interface:
api.tx.adminUtils.sudoSetEmaPriceHalvingPeriod -
summary: Arguments:
origin— The origin of the call, which must be the root account.ema_alpha_period— Number of blocks for EMA price to halve
Errors:
BadOrigin— If the caller is not the root account.
Weight:
Weight is handled by the
#[pallet::weight]attribute.
sudoSetEvmChainId(chain_id: u64)
-
interface:
api.tx.adminUtils.sudoSetEvmChainId -
summary: Sets the EVM ChainID.
Arguments:
origin— The origin of the call, which must be the subnet owner or the root account.chainId— The u64 chain ID
Errors:
BadOrigin— If the caller is neither the subnet owner nor the root account.
Weight:
Weight is handled by the
#[pallet::weight]attribute.
sudoSetImmunityPeriod(netuid: NetUid, immunity_period: u16)
- interface:
api.tx.adminUtils.sudoSetImmunityPeriod - summary: The extrinsic sets the immunity period for a subnet. It is only callable by the root account or subnet owner. The extrinsic will call the Subtensor pallet to set the immunity period.
sudoSetKappa(netuid: NetUid, kappa: u16)
- interface:
api.tx.adminUtils.sudoSetKappa - summary: The extrinsic sets the kappa for a subnet. It is only callable by the root account or subnet owner. The extrinsic will call the Subtensor pallet to set the kappa.
sudoSetLiquidAlphaEnabled(netuid: NetUid, enabled: bool)
-
interface:
api.tx.adminUtils.sudoSetLiquidAlphaEnabled -
summary: Enables or disables Liquid Alpha for a given subnet.
Parameters:
origin: The origin of the call, which must be the root account or subnet owner.netuid: The unique identifier for the subnet.enabled: A boolean flag to enable or disable Liquid Alpha.
Weight:
This function has a fixed weight of 0 and is classified as an operational transaction that does not incur any fees.
sudoSetLockReductionInterval(interval: u64)
- interface:
api.tx.adminUtils.sudoSetLockReductionInterval - summary: The extrinsic sets the lock reduction interval for the network. It is only callable by the root account. The extrinsic will call the Subtensor pallet to set the lock reduction interval.
sudoSetMaxAllowedUids(netuid: NetUid, max_allowed_uids: u16)
- interface:
api.tx.adminUtils.sudoSetMaxAllowedUids - summary: The extrinsic sets the maximum allowed UIDs for a subnet. It is only callable by the root account and subnet owner. The extrinsic will call the Subtensor pallet to set the maximum allowed UIDs for a subnet.
sudoSetMaxAllowedValidators(netuid: NetUid, max_allowed_validators: u16)
- interface:
api.tx.adminUtils.sudoSetMaxAllowedValidators - summary: The extrinsic sets the maximum allowed validators for a subnet. It is only callable by the root account. The extrinsic will call the Subtensor pallet to set the maximum allowed validators.
sudoSetMaxBurn(netuid: NetUid, max_burn: TaoBalance)
- interface:
api.tx.adminUtils.sudoSetMaxBurn - summary: The extrinsic sets the maximum burn for a subnet. It is only callable by root and subnet owner. The extrinsic will call the Subtensor pallet to set the maximum burn.
sudoSetMaxDifficulty(netuid: NetUid, max_difficulty: u64)
- interface:
api.tx.adminUtils.sudoSetMaxDifficulty - summary: The extrinsic sets the maximum difficulty for a subnet. It is only callable by the root account or subnet owner. The extrinsic will call the Subtensor pallet to set the maximum difficulty.
sudoSetMaxMechanismCount(max_mechanism_count: MechId)
- interface:
api.tx.adminUtils.sudoSetMaxMechanismCount - summary: Sets the global maximum number of mechanisms in a subnet
sudoSetMaxRegistrationsPerBlock(netuid: NetUid, max_registrations_per_block: u16)
- interface:
api.tx.adminUtils.sudoSetMaxRegistrationsPerBlock - summary: The extrinsic sets the maximum registrations per block for a subnet. It is only callable by the root account. The extrinsic will call the Subtensor pallet to set the maximum registrations per block.
sudoSetMechanismCount(netuid: NetUid, mechanism_count: MechId)
- interface:
api.tx.adminUtils.sudoSetMechanismCount - summary: Sets the desired number of mechanisms in a subnet
sudoSetMechanismEmissionSplit(netuid: NetUid, maybe_split: Option<Vec<u16>>)
- interface:
api.tx.adminUtils.sudoSetMechanismEmissionSplit - summary: Sets the emission split between mechanisms in a subnet
sudoSetMinAllowedUids(netuid: NetUid, min_allowed_uids: u16)
- interface:
api.tx.adminUtils.sudoSetMinAllowedUids - summary: The extrinsic sets the minimum allowed UIDs for a subnet. It is only callable by the root account.
sudoSetMinAllowedWeights(netuid: NetUid, min_allowed_weights: u16)
- interface:
api.tx.adminUtils.sudoSetMinAllowedWeights - summary: The extrinsic sets the minimum allowed weights for a subnet. It is only callable by the root account or subnet owner. The extrinsic will call the Subtensor pallet to set the minimum allowed weights.
sudoSetMinBurn(netuid: NetUid, min_burn: TaoBalance)
- interface:
api.tx.adminUtils.sudoSetMinBurn - summary: The extrinsic sets the minimum burn for a subnet. It is only callable by root and subnet owner. The extrinsic will call the Subtensor pallet to set the minimum burn.
sudoSetMinDelegateTake(take: u16)
- interface:
api.tx.adminUtils.sudoSetMinDelegateTake - summary: The extrinsic sets the minimum delegate take. It is only callable by the root account. The extrinsic will call the Subtensor pallet to set the minimum delegate take.
sudoSetMinDifficulty(netuid: NetUid, min_difficulty: u64)
- interface:
api.tx.adminUtils.sudoSetMinDifficulty - summary: The extrinsic sets the minimum difficulty for a subnet. It is only callable by the root account or subnet owner. The extrinsic will call the Subtensor pallet to set the minimum difficulty.
sudoSetMinNonImmuneUids(netuid: NetUid, min: u16)
- interface:
api.tx.adminUtils.sudoSetMinNonImmuneUids - summary: Sets the minimum number of non-immortal & non-immune UIDs that must remain in a subnet
sudoSetNetworkImmunityPeriod(immunity_period: u64)
- interface:
api.tx.adminUtils.sudoSetNetworkImmunityPeriod - summary: The extrinsic sets the immunity period for the network. It is only callable by the root account. The extrinsic will call the Subtensor pallet to set the immunity period for the network.
sudoSetNetworkMinLockCost(lock_cost: TaoBalance)
- interface:
api.tx.adminUtils.sudoSetNetworkMinLockCost - summary: The extrinsic sets the min lock cost for the network. It is only callable by the root account. The extrinsic will call the Subtensor pallet to set the min lock cost for the network.
sudoSetNetworkPowRegistrationAllowed(netuid: NetUid, registration_allowed: bool)
- interface:
api.tx.adminUtils.sudoSetNetworkPowRegistrationAllowed - summary: The extrinsic sets the network PoW registration allowed for a subnet. It is only callable by the root account or subnet owner. The extrinsic will call the Subtensor pallet to set the network PoW registration allowed.
sudoSetNetworkRateLimit(rate_limit: u64)
- interface:
api.tx.adminUtils.sudoSetNetworkRateLimit - summary: The extrinsic sets the network rate limit for the network. It is only callable by the root account. The extrinsic will call the Subtensor pallet to set the network rate limit.
sudoSetNetworkRegistrationAllowed(netuid: NetUid, registration_allowed: bool)
- interface:
api.tx.adminUtils.sudoSetNetworkRegistrationAllowed - summary: The extrinsic sets the network registration allowed for a subnet. It is only callable by the root account or subnet owner. The extrinsic will call the Subtensor pallet to set the network registration allowed.
sudoSetNominatorMinRequiredStake(min_stake: u64)
- interface:
api.tx.adminUtils.sudoSetNominatorMinRequiredStake - summary: The extrinsic sets the minimum stake required for nominators. It is only callable by the root account. The extrinsic will call the Subtensor pallet to set the minimum stake required for nominators.
sudoSetOwnerHparamRateLimit(epochs: u16)
- interface:
api.tx.adminUtils.sudoSetOwnerHparamRateLimit - summary: Sets the owner hyperparameter rate limit in epochs (global multiplier). Only callable by root.