Skip to main content

AlphaQuote

from lium.sdk import AlphaQuote

Defined in lium.sdk.client.

USD -> alpha quote from GET /balance/convert/alpha.

netuid is the subnet the alpha transfer goes to. The API sets it, and the transfer uses the value from the quote.

AlphaQuote(
usd: decimal.Decimal,
alpha_amount: decimal.Decimal,
rate: decimal.Decimal,
netuid: int
)

Fields​

NameTypeDefault
usddecimal.Decimal
alpha_amountdecimal.Decimal
ratedecimal.Decimal
netuidint