Queries

quote-mint-gamma

The alpha burned, its TAO value, and the gamma `mint_gamma` would mint now.

View as Markdown

Raises the chain error that stops the mint, such as TaoUsdPriceUnavailable when the TAO/USD price is missing or stale, or AmountTooLow below 0.1 gamma.

Category: Gamma

Parameters

ParameterTypeDescription
netuidintegerSubnet to mint on.
amount_taonumberTAO spent buying alpha.

CLI

btcli query quote-mint-gamma --netuid <integer> --amount-tao <number> --json

Python

Namespace method (autocomplete, signature help):

import bittensor as bt

sub = bt.Subtensor()
result = sub.gamma.quote_mint_gamma(netuid=1, amount_tao=1.0)

Or dispatch by name, as an agent would:

result = sub.read("quote_mint_gamma", netuid=1, amount_tao=1.0)

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.