Queries

stake-value-for-coldkeys

Spot-price stake valuation for several coldkeys at once, at one block.

View as Markdown

Category: Staking

Parameters

ParameterTypeDescription
coldkey_ss58sarrayColdkeys whose stake to value.

CLI

btcli query stake-value-for-coldkeys --coldkey-ss58s <array> --json

Python

import bittensor as sub

async with sub.Client("finney") as client:
    result = await client.read("stake_value_for_coldkeys", coldkey_ss58s=[...])