Queries

associated-evm-key

The EVM address associated with a neuron (by netuid + uid) and the block it was set.

View as Markdown

Category: Neurons & registration

Parameters

ParameterTypeDescription
netuidintegerSubnet the neuron is registered on.
uidintegerUID of the neuron on that subnet.

CLI

btcli query associated-evm-key --netuid <integer> --uid <integer> --json

Python

import bittensor as sub

async with sub.Client("finney") as client:
    result = await client.read("associated_evm_key", netuid=1, uid=1)