---
title: AlphaQuote
sidebar_label: AlphaQuote
sidebar_position: 2
---

> ## Documentation Index
> Fetch the complete documentation index at: https://docs.lium.io/llms.txt
> Use this file to discover all available pages before exploring further.

<!-- Generated by scripts/generate_sdk_reference.py. Do not edit directly. -->

# AlphaQuote

```python
from lium.sdk import AlphaQuote
```

Defined in `lium.sdk.client`.

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

``netuid`` is the subnet the alpha must be transferred on (the same subnet the
pay-tao-api-v2 listener credits), so it — not a hardcoded constant — drives the
on-chain ``transfer_stake``.

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

## Fields

| Name | Type | Default |
| --- | --- | --- |
| `usd` | decimal.Decimal |  |
| `alpha_amount` | decimal.Decimal |  |
| `rate` | decimal.Decimal |  |
| `netuid` | int |  |
