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

**Category:** Gamma

## Parameters [#parameters]

| Parameter      | Type   | Description                  |
| -------------- | ------ | ---------------------------- |
| `coldkey_ss58` | string | Coldkey owning the deposits. |

## CLI [#cli]

```bash
btcli query gamma-deposits --coldkey <ss58|name> --json
```

## Python [#python]

Namespace method (autocomplete, signature help):

```python
import bittensor as bt

sub = bt.Subtensor()
result = sub.gamma.gamma_deposits(coldkey_ss58="5F...")
```

Or dispatch by name, as an agent would:

```python
result = sub.read("gamma_deposits", coldkey_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_deposits_for_coldkey`](/code/pallets/subtensor/src/rpc_info/gamma_info.rs#L47-L58)

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