0x0000000000000000000000000000000000000804
Neuron operations from the caller's mapped account: registration (SubtensorModule::burned_register), setting, committing and revealing weights (including batch and timelocked variants), associating an EVM key, and coldkey-swap announcements; plus reads of neuron data.
Written from precompiles/src/neuron.rs (github.com, opens in a new tab, external site) at c004cebf3 (runtime 471)
Retired functions stay listed so older calls still decode.
announceColdkeySwap(bytes32)nonpayable0x08d1c53eNo documentation in the source.
Parameters
newColdkeyHash (bytes32)associateEvmKey(uint16,address,uint64,bytes)nonpayable0x3e39c584No documentation in the source.
Parameters
netuid (uint16)evmKey (address)blockNumber (uint64)signature (bytes)batchCommitWeights(uint16[],bytes32[])nonpayable0xd9020874No documentation in the source.
Parameters
netuids (uint16[])commitHashes (bytes32[])batchRevealWeights(uint16,uint16[][],uint16[][],uint16[][],uint64[])nonpayable0x4fb51a56No documentation in the source.
Parameters
netuid (uint16)uids (uint16[][])values (uint16[][])salts (uint16[][])versionKeys (uint64[])batchSetWeights(uint16[],uint16[][],uint16[][],uint64[])nonpayable0x420439cdNo documentation in the source.
Parameters
netuids (uint16[])dests (uint16[][])values (uint16[][])versionKeys (uint64[])burnedRegister(uint16,bytes32)payable0x4054eccaRegisters a neuron by calling `do_burned_registration` internally with the origin set to the ss58 mirror of the H160 address. This allows the H160 to further call neuron-related methods and receive emissions.
Parameters
netuid (uint16) The subnet to register the neuron to (uint16).hotkey (bytes32) The hotkey public key (32 bytes).clearColdkeySwapAnnouncement()nonpayable0x8328f4b3No documentation in the source.
commitCrv3MechanismWeights(uint16,uint8,bytes,uint64)nonpayable0xa8ae88b0No documentation in the source.
Parameters
netuid (uint16)mecid (uint8)commit (bytes)revealRound (uint64)commitMechanismWeights(uint16,uint8,bytes32)nonpayable0x963ec024No documentation in the source.
Parameters
netuid (uint16)mecid (uint8)commitHash (bytes32)commitTimelockedMechanismWeights(uint16,uint8,bytes,uint64,uint16)nonpayable0x3856c1e0No documentation in the source.
Parameters
netuid (uint16)mecid (uint8)commit (bytes)revealRound (uint64)commitRevealVersion (uint16)commitTimelockedWeights(uint16,bytes,uint64,uint16)nonpayable0x9c9d8cecNo documentation in the source.
Parameters
netuid (uint16)commit (bytes)revealRound (uint64)commitRevealVersion (uint16)commitWeights(uint16,bytes32)payable0xa5077557Commits the weights for a neuron.
Parameters
netuid (uint16) The subnet to commit the weights for (uint16).commitHash (bytes32) The commit hash for the weights (bytes32).disputeColdkeySwap()nonpayable0xd83fd75bNo documentation in the source.
executeAnnouncedColdkeySwap(bytes32)nonpayable0xfbb0086dNo documentation in the source.
Parameters
newColdkey (bytes32)getBlockAtRegistration(uint16,uint16)view0x6055248fNo documentation in the source.
Parameters
netuid (uint16)uid (uint16)Returns
return (uint64)getBonds(uint16,uint16)view0x18f730edNo documentation in the source.
Parameters
netuid (uint16)uid (uint16)Returns
return (tuple(uint16 uid, uint16 value)[])getChainIdentity(bytes32)view0xa9592c39No documentation in the source.
Parameters
coldkey (bytes32)Returns
exists (bool)name (bytes)url (bytes)githubRepo (bytes)image (bytes)discord (bytes)description (bytes)additional (bytes)getLegacyTimelockedWeightCommit(uint8,uint16,uint64,uint32)view0x0f4ce9cfNo documentation in the source.
Parameters
version (uint8)netuid (uint16)epoch (uint64)index (uint32)Returns
exists (bool)hotkey (bytes32)blockNumber (uint64)ciphertextHash (bytes32)ciphertextLength (uint32)revealRound (uint64)getLegacyTimelockedWeightCommitCount(uint8,uint16,uint64)view0xd3c9d6c4No documentation in the source.
Parameters
version (uint8)netuid (uint16)epoch (uint64)Returns
return (uint32)getLegacyTransactionRateBlocks(bytes32)view0x75263dcdNo documentation in the source.
Parameters
hotkey (bytes32)Returns
lastTransactionBlock (uint64)lastChildkeyTakeBlock (uint64)lastDelegateTakeBlock (uint64)getLoadedEmission(uint16)view0x8b040afaNo documentation in the source.
Parameters
netuid (uint16)Returns
exists (bool)return 2 (tuple(bytes32 hotkey, uint64 serverEmission, uint64 validatorEmission)[])getNeuronCertificate(uint16,bytes32)view0x08ef710eNo documentation in the source.
Parameters
netuid (uint16)hotkey (bytes32)Returns
exists (bool)algorithm (uint8)publicKey (bytes)getPrometheus(uint16,bytes32)view0x8cc3cce5No documentation in the source.
Parameters
netuid (uint16)hotkey (bytes32)Returns
exists (bool)blockNumber (uint64)version (uint32)ip (uint128)port (uint16)ipType (uint8)getSubnetIdentity(uint16)view0xbb18ad27No documentation in the source.
Parameters
netuid (uint16)Returns
exists (bool)subnetName (bytes)githubRepo (bytes)subnetContact (bytes)subnetUrl (bytes)discord (bytes)description (bytes)logoUrl (bytes)additional (bytes)getTimelockedWeightCommit(uint16,uint64,uint32)view0x0005e655No documentation in the source.
Parameters
netuid (uint16)epoch (uint64)index (uint32)Returns
exists (bool)hotkey (bytes32)blockNumber (uint64)ciphertextHash (bytes32)ciphertextLength (uint32)revealRound (uint64)getTimelockedWeightCommitCount(uint16,uint64)view0x402e06f2No documentation in the source.
Parameters
netuid (uint16)epoch (uint64)Returns
return (uint32)getTransactionKeyLastBlock(bytes32,uint16,uint16)view0x171b1d55No documentation in the source.
Parameters
hotkey (bytes32)netuid (uint16)transactionKey (uint16)Returns
return (uint64)getUid(uint16,bytes32)view0x39fcc675No documentation in the source.
Parameters
netuid (uint16)hotkey (bytes32)Returns
exists (bool)uid (uint16)getWeightCommit(uint16,bytes32,uint32)view0xb8d93b66No documentation in the source.
Parameters
netuid (uint16)hotkey (bytes32)index (uint32)Returns
exists (bool)hash (bytes32)epoch (uint64)blockNumber (uint64)getWeightCommitCount(uint16,bytes32)view0x906ad69aNo documentation in the source.
Parameters
netuid (uint16)hotkey (bytes32)Returns
return (uint32)getWeights(uint16,uint16)view0x95675a5dNo documentation in the source.
Parameters
netuid (uint16)uid (uint16)Returns
return (tuple(uint16 uid, uint16 value)[])isNetworkMember(bytes32,uint16)view0xb8aa8a37No documentation in the source.
Parameters
hotkey (bytes32)netuid (uint16)Returns
return (bool)register(uint16,uint64,uint64,bytes,bytes32,bytes32)nonpayable0x504651b2No documentation in the source.
Parameters
netuid (uint16)blockNumber (uint64)nonce (uint64)work (bytes)hotkey (bytes32)coldkey (bytes32)registerLimit(uint16,bytes32,uint64)payable0xb72d8f89Registers a neuron like `burnedRegister`, but only if the current burn cost does not exceed `limitPrice` (in rao).
Parameters
netuid (uint16) The subnet to register the neuron to (uint16).hotkey (bytes32) The hotkey public key (32 bytes).limitPrice (uint64) The maximum acceptable burn cost in rao (uint64).revealMechanismWeights(uint16,uint8,uint16[],uint16[],uint16[],uint64)nonpayable0x4369e004No documentation in the source.
Parameters
netuid (uint16)mecid (uint8)uids (uint16[])values (uint16[])salt (uint16[])versionKey (uint64)revealWeights(uint16,uint16[],uint16[],uint16[],uint64)payable0x66ba946fReveals the weights for a neuron.
Parameters
netuid (uint16) The subnet to reveal the weights for (uint16).uids (uint16[]) The unique identifiers for the weights (uint16[]).values (uint16[]) The values of the weights (uint16[]).salt (uint16[]) The salt values for the weights (uint16[]).versionKey (uint64) The version key for the weights (uint64).rootRegister(bytes32)nonpayable0x3406f457No documentation in the source.
Parameters
hotkey (bytes32)serveAxon(uint16,uint32,uint128,uint16,uint8,uint8,uint8,uint8)payable0xe20ac82fRegisters axon information for a neuron. This function is used to serve axon information, including the subnet to register to, version, IP address, port, IP type, protocol, and placeholders for future use.
Parameters
netuid (uint16) The subnet to register the axon to (uint16).version (uint32) The version of the axon (uint32).ip (uint128) The IP address of the axon (uint128).port (uint16) The port number of the axon (uint16).ipType (uint8) The type of IP address (uint8).protocol (uint8) The protocol used by the axon (uint8).placeholder1 (uint8) Placeholder for future use (uint8).placeholder2 (uint8) Placeholder for future use (uint8).serveAxonTls(uint16,uint32,uint128,uint16,uint8,uint8,uint8,uint8,bytes)payable0x18ba7f8aServes axon information for a neuron over TLS. This function is used to serve axon information, including the subnet to register to, version, IP address, port, IP type, protocol, and placeholders for future use.
Parameters
netuid (uint16) The subnet to register the axon to (uint16).version (uint32) The version of the axon (uint32).ip (uint128) The IP address of the axon (uint128).port (uint16) The port number of the axon (uint16).ipType (uint8) The type of IP address (uint8).protocol (uint8) The protocol used by the axon (uint8).placeholder1 (uint8) Placeholder for future use (uint8).placeholder2 (uint8) Placeholder for future use (uint8).certificate (bytes) The TLS certificate for the axon (bytes).servePrometheus(uint16,uint32,uint128,uint16,uint8)payable0x5a05952fServes Prometheus information for a neuron. This function is used to serve Prometheus information, including the subnet to register to, version, IP address, port, and IP type.
Parameters
netuid (uint16) The subnet to register the Prometheus information to (uint16).version (uint32) The version of the Prometheus information (uint32).ip (uint128) The IP address of the Prometheus information (uint128).port (uint16) The port number of the Prometheus information (uint16).ipType (uint8) The type of IP address (uint8).setChildren(bytes32,uint16,uint64[],bytes32[])nonpayable0x4f8d1788No documentation in the source.
Parameters
hotkey (bytes32)netuid (uint16)proportions (uint64[])children (bytes32[])setIdentity(string,string,string,string,string,string,string)nonpayable0xe45e6e44No documentation in the source.
Parameters
name (string)url (string)githubRepo (string)image (string)discord (string)description (string)additional (string)setMechanismWeights(uint16,uint8,uint16[],uint16[],uint64)nonpayable0xe6903674No documentation in the source.
Parameters
netuid (uint16)mecid (uint8)dests (uint16[])weights (uint16[])versionKey (uint64)setWeights(uint16,uint16[],uint16[],uint64)payable0x34af16d6Sets the weights for a neuron.
Parameters
netuid (uint16) The subnet to set the weights for (uint16).dests (uint16[]) The destinations of the weights (uint16[]).weights (uint16[]) The weights to set (uint16[]).versionKey (uint64) The version key for the weights (uint64).swapHotkey(bytes32,bytes32,bool,uint16)nonpayable0x4e169550No documentation in the source.
Parameters
hotkey (bytes32)newHotkey (bytes32)hasNetuid (bool)netuid (uint16)swapHotkeyV2(bytes32,bytes32,bool,uint16,bool)nonpayable0x0257aaabNo documentation in the source.
Parameters
hotkey (bytes32)newHotkey (bytes32)hasNetuid (bool)netuid (uint16)keepStake (bool)tryAssociateHotkey(bytes32)nonpayable0xf232cecaNo documentation in the source.
Parameters
hotkey (bytes32)commitWeights(uint16,uint256)Retiredpayable0x5817defdCommits the weights for a neuron.
Parameters
netuid (uint16) The subnet to commit the weights for (uint16).commitHash (uint256) The commit hash for the weights (uint256).Data: precompile-abis.v473. Runtime ranges are the spec versions on subtensor’s main branch when an entry first and last appeared, not the block it went live on chain.