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

# Get assets

> Get wallet assets and balances for the authenticated user

## Authentication

Read authentication required — `X-Public-Key` header. See the [Authentication guide](/authentication).

## Example request

<CodeGroup>
  ```bash cURL theme={null}
  curl "https://relay.bayse.markets/v1/wallet/assets" \
    -H "X-Public-Key: pk_live_abcdef123456"
  ```

  ```javascript Node.js theme={null}
  const response = await fetch('https://relay.bayse.markets/v1/wallet/assets', {
    headers: {
      'X-Public-Key': 'pk_live_abcdef123456',
    },
  });
  const assets = await response.json();
  ```

  ```python Python theme={null}
  import requests

  resp = requests.get(
      'https://relay.bayse.markets/v1/wallet/assets',
      headers={'X-Public-Key': 'pk_live_abcdef123456'},
  )
  assets = resp.json()
  ```

  ```go Go theme={null}
  req, _ := http.NewRequest("GET", "https://relay.bayse.markets/v1/wallet/assets", nil)
  req.Header.Set("X-Public-Key", "pk_live_abcdef123456")
  resp, _ := http.DefaultClient.Do(req)
  ```
</CodeGroup>

## Response

<ResponseField name="assets" type="array">
  List of the user's wallet assets.

  <Expandable title="asset fields">
    <ResponseField name="id" type="string">Asset UUID.</ResponseField>
    <ResponseField name="symbol" type="string">Currency symbol (e.g., `USD`, `NGN`).</ResponseField>
    <ResponseField name="userId" type="string">Owner's user UUID.</ResponseField>
    <ResponseField name="network" type="string">Blockchain network (e.g., `bep20`, `tron`, `sol`).</ResponseField>
    <ResponseField name="availableBalance" type="number">Available balance.</ResponseField>
    <ResponseField name="pendingBalance" type="number">Pending balance.</ResponseField>
    <ResponseField name="depositActivity" type="string">`ACTIVE` or `SUSPENDED`.</ResponseField>
    <ResponseField name="withdrawalActivity" type="string">`ACTIVE` or `SUSPENDED`.</ResponseField>
    <ResponseField name="wagerActivity" type="string">`ACTIVE` or `SUSPENDED`.</ResponseField>
    <ResponseField name="isDefault" type="boolean">Whether this is the user's default asset.</ResponseField>
    <ResponseField name="isLocalCurrencyAsset" type="boolean">Whether this is a local currency asset.</ResponseField>

    <ResponseField name="addresses" type="array">
      Deposit addresses for this asset.

      <Expandable title="address fields">
        <ResponseField name="id" type="string">Address UUID.</ResponseField>
        <ResponseField name="address" type="string">Wallet address.</ResponseField>
        <ResponseField name="symbol" type="string">Token symbol (e.g., `USDT`).</ResponseField>
        <ResponseField name="provider" type="string">Payment provider.</ResponseField>
        <ResponseField name="network" type="string">Blockchain network.</ResponseField>
      </Expandable>
    </ResponseField>

    <ResponseField name="createdAt" type="string">ISO 8601 timestamp.</ResponseField>
    <ResponseField name="updatedAt" type="string">ISO 8601 timestamp.</ResponseField>
  </Expandable>
</ResponseField>

<ResponseExample>
  ```json 200 OK theme={null}
  {
    "assets": [
      {
        "id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
        "symbol": "USD",
        "userId": "b2c3d4e5-f6a7-8901-bcde-f12345678901",
        "network": "bep20",
        "availableBalance": 1250.50,
        "pendingBalance": 0,
        "depositActivity": "ACTIVE",
        "withdrawalActivity": "ACTIVE",
        "wagerActivity": "ACTIVE",
        "isDefault": true,
        "isLocalCurrencyAsset": false,
        "addresses": [
          {
            "id": "c3d4e5f6-a7b8-9012-cdef-123456789012",
            "address": "0x1234567890abcdef1234567890abcdef12345678",
            "symbol": "USDT",
            "provider": "hostcap",
            "network": "bep20"
          }
        ],
        "createdAt": "2026-01-13T08:38:32.454Z",
        "updatedAt": "2026-02-18T11:32:09.718Z"
      },
      {
        "id": "d4e5f6a7-b8c9-0123-defa-456789012345",
        "symbol": "NGN",
        "userId": "b2c3d4e5-f6a7-8901-bcde-f12345678901",
        "network": "bep20",
        "availableBalance": 50000.00,
        "pendingBalance": 50000.00,
        "depositActivity": "ACTIVE",
        "withdrawalActivity": "ACTIVE",
        "wagerActivity": "ACTIVE",
        "isDefault": false,
        "isLocalCurrencyAsset": true,
        "addresses": [],
        "createdAt": "2026-06-04T08:47:59.086Z",
        "updatedAt": "2026-02-18T12:52:51.715Z"
      }
    ]
  }
  ```
</ResponseExample>
