Queries
associated-evm-key
The EVM address associated with a neuron (by netuid + uid) and the block it was set.
Category: Neurons & registration
Parameters
| Parameter | Type | Description |
|---|---|---|
netuid | integer | Subnet the neuron is registered on. |
uid | integer | UID of the neuron on that subnet. |
CLI
btcli query associated-evm-key --netuid <integer> --uid <integer> --jsonPython
Typed namespace method (autocomplete, signature help):
import bittensor as sub
async with sub.Client("finney") as client:
result = await client.neurons.associated_evm_key(netuid=1, uid=1)Or dispatch by name, as an agent would:
result = await client.read("associated_evm_key", netuid=1, uid=1)