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
import bittensor as sub
async with sub.Client("finney") as client:
result = await client.read("associated_evm_key", netuid=1, uid=1)