Queries

gamma-deposit

The gamma deposit at a hotkey on a subnet, or None.

View as Markdown

Its netuid, hotkey, coldkey, spender, and balance_gamma, daily_spend_cap_gamma and spendable_gamma as exact decimal strings of gamma. A daily_spend_cap_gamma of None is no cap, and "0" pauses the deposit. spendable_gamma is the balance within what its daily spend cap allows now.

Category: Gamma

Parameters

ParameterTypeDescription
netuidintegerSubnet of the deposit.
hotkey_ss58stringHotkey of the deposit.

CLI

btcli query gamma-deposit --netuid <integer> --hotkey <ss58|name> --json

Python

Namespace method (autocomplete, signature help):

import bittensor as bt

sub = bt.Subtensor()
result = sub.gamma.gamma_deposit(netuid=1, hotkey_ss58="5F...")

Or dispatch by name, as an agent would:

result = sub.read("gamma_deposit", netuid=1, hotkey_ss58="5F...")

Async is the same surface awaited: async with bt.Subtensor() as client:.

On-chain implementation

Every file is browsable under /code exactly as built into the runtime.