# gamma-deposit (/docs/query/gamma-deposit)

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 [#parameters]

| Parameter     | Type    | Description            |
| ------------- | ------- | ---------------------- |
| `netuid`      | integer | Subnet of the deposit. |
| `hotkey_ss58` | string  | Hotkey of the deposit. |

## CLI [#cli]

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

## Python [#python]

Namespace method (autocomplete, signature help):

```python
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:

```python
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 [#on-chain-implementation]

* Runtime API [`GammaRuntimeApi.get_gamma_deposit`](/code/pallets/subtensor/src/rpc_info/gamma_info.rs#L38-L44)

Every file is browsable under [/code](/code) exactly as built into the runtime.
