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

# DepositDestinationsClient

Defined in: [\_vendor/api/resources/depositDestinations/client/Client.ts:16](https://github.com/coinbase/cdp-sdk/blob/30d1b3dc350cd763fecf481c5bc976bd77951f3b/typescript/packages/cdp-sdk/src/_vendor/api/resources/depositDestinations/client/Client.ts#L16)

Deposit Destinations allow you to manage where funds can be deposited into your accounts.

## Crypto Deposit Destinations

Crypto deposit destinations are cryptocurrency addresses that you can generate and fetch via the API. Once created, these addresses can receive cryptocurrency payments on their specified network and will settle in your account balance.

**Metadata:**
You can attach metadata to any deposit destination you create to track the purpose or source of deposits.

**Example:**

```json theme={null}
{
  "depositDestinationId": "depositDestination_123",
  "accountId": "account_456",
  "type": "crypto",
  "crypto": {
    "network": "base",
    "address": "0x742d35Cc6634C0532925a3b844Bc454e4438f44e"
  },
  "target": {
    "accountId": "account_789",
    "asset": "usd"
  },
  "status": "active",
  "metadata": {
    "customer_id": "cust_789",
    "reference": "order-12345"
  }
}
```

Use the list endpoint to retrieve all deposit destinations.

## Methods

### createDepositDestination()

```ts theme={null}
createDepositDestination(request: CreateDepositDestinationBody, requestOptions?: RequestOptions): HttpResponsePromise<Crypto>;
```

Defined in: [\_vendor/api/resources/depositDestinations/client/Client.ts:212](https://github.com/coinbase/cdp-sdk/blob/30d1b3dc350cd763fecf481c5bc976bd77951f3b/typescript/packages/cdp-sdk/src/_vendor/api/resources/depositDestinations/client/Client.ts#L212)

Create a new deposit destination for an account. A deposit destination is a cryptocurrency address that can be used to receive funds. The address will be generated for the specified network.

#### Parameters

##### request

[`CreateDepositDestinationBody`](/sdks/cdp-sdks-v2/typescript/DepositDestinations/CreateDepositDestinationBody)

##### requestOptions?

[`RequestOptions`](/sdks/cdp-sdks-v2/typescript/DepositDestinations/namespaces/DepositDestinationsClient/index#requestoptions)

Request-specific configuration.

#### Returns

`HttpResponsePromise`\<[`Crypto`](/sdks/cdp-sdks-v2/typescript/DepositDestinations/namespaces/DepositDestination/index#crypto)>

#### Example

```ts theme={null}
await client.depositDestinations.createDepositDestination({
    idempotencyKey: "8e03978e-40d5-43e8-bc93-6894a57f9324",
    type: "crypto",
    accountId: "account_af2937b0-9846-4fe7-bfe9-ccc22d935114",
    target: {
        accountId: "account_af2937b0-9846-4fe7-bfe9-ccc22d935114",
        asset: "usd"
    },
    metadata: {
        "customer_id": "123e4567-e89b-12d3-a456-426614174000",
        "reference": "order-12345"
    },
    crypto: {
        network: "base"
    }
})
```

***

### getDepositDestinationById()

```ts theme={null}
getDepositDestinationById(request: GetDepositDestinationByIdRequest, requestOptions?: RequestOptions): HttpResponsePromise<Crypto>;
```

Defined in: [\_vendor/api/resources/depositDestinations/client/Client.ts:331](https://github.com/coinbase/cdp-sdk/blob/30d1b3dc350cd763fecf481c5bc976bd77951f3b/typescript/packages/cdp-sdk/src/_vendor/api/resources/depositDestinations/client/Client.ts#L331)

Get a specific deposit destination by its ID.

#### Parameters

##### request

[`GetDepositDestinationByIdRequest`](/sdks/cdp-sdks-v2/typescript/DepositDestinations/index#getdepositdestinationbyidrequest)

##### requestOptions?

[`RequestOptions`](/sdks/cdp-sdks-v2/typescript/DepositDestinations/namespaces/DepositDestinationsClient/index#requestoptions)

Request-specific configuration.

#### Returns

`HttpResponsePromise`\<[`Crypto`](/sdks/cdp-sdks-v2/typescript/DepositDestinations/namespaces/DepositDestination/index#crypto)>

#### Example

```ts theme={null}
await client.depositDestinations.getDepositDestinationById({
    depositDestinationId: "depositDestination_af2937b0-9846-4fe7-bfe9-ccc22d935114"
})
```

***

### listDepositDestinations()

```ts theme={null}
listDepositDestinations(request?: ListDepositDestinationsRequest, requestOptions?: RequestOptions): HttpResponsePromise<ListDepositDestinationsResponse>;
```

Defined in: [\_vendor/api/resources/depositDestinations/client/Client.ts:84](https://github.com/coinbase/cdp-sdk/blob/30d1b3dc350cd763fecf481c5bc976bd77951f3b/typescript/packages/cdp-sdk/src/_vendor/api/resources/depositDestinations/client/Client.ts#L84)

List deposit destinations. You can optionally filter the results by type, account ID, network, or cryptocurrency address. Results are sorted by creation date in descending order (newest first).

#### Parameters

##### request?

[`ListDepositDestinationsRequest`](/sdks/cdp-sdks-v2/typescript/DepositDestinations/index#listdepositdestinationsrequest) = `{}`

##### requestOptions?

[`RequestOptions`](/sdks/cdp-sdks-v2/typescript/DepositDestinations/namespaces/DepositDestinationsClient/index#requestoptions)

Request-specific configuration.

#### Returns

`HttpResponsePromise`\<[`ListDepositDestinationsResponse`](/sdks/cdp-sdks-v2/typescript/DepositDestinations/index#listdepositdestinationsresponse)>

#### Example

```ts theme={null}
await client.depositDestinations.listDepositDestinations({
    accountId: "account_af2937b0-9846-4fe7-bfe9-ccc22d935114",
    address: "0x742d35Cc6634C0532925a3b844Bc454e4438f44e",
    type: "crypto",
    network: "base",
    pageToken: "eyJsYXN0X2lkIjogImFiYzEyMyIsICJ0aW1lc3RhbXAiOiAxNzA3ODIzNzAxfQ=="
})
```
