BulkNeuronsRegistered
Event Re-added v101 → v219, v233 → v265, v273 → v277, v290 → current #7Emitted when multiple neurons are registered in a single operation.
View events on chainThe Big Picture
Bulk registration is an administrative operation that registers many neurons at once. This might happen during subnet launches, migrations, or special events. Unlike individual registrations (which go through burn/PoW), bulk registration is typically an admin privilege used for coordinated onboarding. This event signals large-scale population changes.
Why This Matters
Bulk registrations change subnet dynamics quickly. If 50 new neurons suddenly appear, competition changes overnight. This event helps you understand when and why subnet populations shift, distinguishing organic growth from administrative action.
Example Scenario
A new subnet is launching with pre-vetted validators. The subnet owner bulk registers 20 validators to bootstrap the network. BulkNeuronsRegistered fires with 20 UIDs assigned. The subnet now has its initial validator set without each needing to register individually.
Common Questions
- Who can do bulk registration?
- Typically only subnet owners or network admins. It's not a public function - requires special privileges.
- Does bulk registration bypass burn/PoW costs?
- Usually yes - that's part of why it's admin-only. The admin decides who gets in, not the market mechanism.
- Can existing neurons be pruned by bulk registration?
- If the subnet is full, bulk registration might prune poor performers to make room. Check if this affects you if you're on a nearly-full subnet.
Use Cases
- Track bulk onboarding of neurons to subnets
- Monitor administrative registration events
- Detect unusual bulk registration activity
- Build subnet population tracking tools
How to Use This Event
- → Monitor for sudden subnet population changes
- → Track administrative activity on subnets
- → Build alerts for unusual bulk operations
From Chain Metadata
multiple uids have been concurrently registered.
Triggers
Emitted by
Preconditions
- Bulk registration authorized (admin operation)
- All hotkeys valid and unregistered on subnet
- Subnet has capacity
Effects
Storage Modified
Postconditions
- Multiple UIDs assigned
- All hotkey-coldkey associations recorded
Side Effects
- SubnetworkN increased by count
- May prune multiple existing neurons if full
Event Data
Code Examples
import { ApiPromise, WsProvider } from "@polkadot/api";
import { stringCamelCase } from "@polkadot/util";
const provider = new WsProvider("wss://entrypoint-finney.opentensor.ai:443");
const api = await ApiPromise.create({ provider });
// Subscribe to BulkNeuronsRegistered events
api.query.system.events((events) => {
events
.filter(({ event }) =>
event.section === stringCamelCase("SubtensorModule") &&
event.method === "BulkNeuronsRegistered"
)
.forEach(({ event }) => {
console.log("BulkNeuronsRegistered:", event.data.toHuman());
});
});Version History
Runtime Info
View Source- Pallet Index
- 7
- Event Index
- 7
- First Version
- v101
- Current Version
- v393