sudo_set_min_delegate_take

Call v149 → current #46

Sets the minimum delegate take percentage.

View calls on chain

Click items to navigate. Pan and zoom to explore.

Used by: subnet owners

The Big Picture

Ensures validators receive at least this percentage. Prevents unsustainable delegation economics.

Use Cases

  • Ensuring validators earn minimum
  • Preventing race-to-bottom economics

From Chain Metadata

See [`Pallet::sudo_set_min_delegate_take`].

Input Parameters

#NameTypeDescription
0
take
u16 take (u16)

Permissions

Origin
Root
Required Role

Permission data inferred from metadata. May be incomplete.

Requirements

  • Caller is root account

Effects

Storage Modified

Postconditions

  • MinDelegateTake updated

Side Effects

  • Validators cannot set take below this

Code Examples

import { createClient, Binary } from "polkadot-api";
import { getWsProvider } from "polkadot-api/ws";
import { sub } from "@polkadot-api/descriptors"; // generated by: npx papi add sub -w wss://entrypoint-finney.opentensor.ai:443

const client = createClient(getWsProvider("wss://entrypoint-finney.opentensor.ai:443"));
const api = client.getTypedApi(sub);

// Build sudo_set_min_delegate_take call (typed, named args)
const take = 0;

const tx = api.tx.AdminUtils.sudo_set_min_delegate_take({
  take,
});

Runtime Info

View Source
Pallet Index
19
Call Index
46
First Version
v149
Current Version
v411