# GET: Digital Asset Address

#### `GET /deposits/digital_asset_addresses` <a href="#get-deposits-digital_asset_addresses" id="get-deposits-digital_asset_addresses"></a>

```
const getDepositAddresses = () => {
  const body = {}
  const timestamp = Math.round(Date.now() / 1000)
  const payload = timestamp + 'GET' + '/deposits/digital_asset_addresses' + '{}'
  const decodedSecret = Buffer.from(apiSecret, 'base64')
  const hmac = crypto.createHmac('sha256', decodedSecret)
  const signedPayload = hmac.update(payload).digest('base64')

  // SET HEADERS
  const headers = {
    'X-NDAX-API-KEY': 'public_key',
    'X-NDAX-SIGNED': signedPayload,
    'X-NDAX-TIMESTAMP': timestamp,
    'X-NDAX-PASSPHRASE': 'passphrase'
  }
  const options = {
    headers,
    body,
    json: true
  }

  return request.get(
    'https://api.ndax.in/deposits/digital_asset_addresses',
    options
  )
}
```

> Sample Response

```
{
  "message": [
    {
      "created_at": 1561996924964,
      "address": "2NCgV7BXXafJZ86utcYFs5m3tCpkcpLafeG",
      "participant_code": "ABCDEF",
      "asset": "BTC"
    },
    {
      "created_at": 1561996924964,
      "address": "0xe01ed9e684de649bfec799cd79f6c27335c23cb9",
      "participant_code": "ABCDEF",
      "asset": "ETH"
    }
  ]
}
```

Returns an array of addresses associated with a participant's digital asset wallet. In order to GET deposit addresses for a participant\_code other than yourself, you must have the `submits_platform_withdrawals_for` relationship against said participant\_code. Refer [here](https://seedcx.zendesk.com/hc/en-us/articles/360021160534-Participant-Relationships-and-Access-Rights) for more information on relationship types.

Query parameters include:

* `participant_code` (optional) will return addresses for one of your customers - if not included, will default to the participant the API key was created for
* `asset` (optional) will filter to a specific asset

Response:

<table><thead><tr><th width="193.33333333333331">Parameter</th><th width="378">Description</th><th>Type</th></tr></thead><tbody><tr><td>created_at</td><td>The timestamp for when the address was created</td><td>timestamp</td></tr><tr><td>address</td><td>The digital wallet address</td><td>string</td></tr><tr><td>asset</td><td>The asset code for the request, e.g. <code>BTC</code></td><td>string</td></tr><tr><td>participant_code</td><td>The participant the request belongs to, e.g. <code>ABCDEF</code></td><td>string</td></tr></tbody></table>
