---
title: "Deposit into a vault"
method: POST
path: "/v2/embedded-wallet-api/end-users/{userId}/evm/{address}/lend/deposit"
tags: ["End User Accounts"]
---

# Deposit into a vault

`POST /v2/embedded-wallet-api/end-users/{userId}/evm/{address}/lend/deposit`

## Request

- Base URL: `https://api.cdp.coinbase.com/platform`
- URL: `https://api.cdp.coinbase.com/platform/v2/embedded-wallet-api/end-users/{userId}/evm/{address}/lend/deposit`
- Auth: HTTP bearer

Deposits the vault's underlying asset (e.g. USDC) from an end user's EVM account into a vault. The end user signs an EIP-2612 permit authorizing the deposit, and the token approval and deposit are executed in a single transaction.
The transaction hash is returned in the response.
For deposits from EVM Smart Accounts, use `depositToVaultWithEndUserEvmSmartAccount` instead.
The `amount` field accepts human-readable amounts as decimal strings (e.g., "1.5", "25.50") in the standard unit denomination of the vault's underlying asset.

## Path parameters

- `userId` string, required
- `address` string, required: A blockchain address. Format varies by network (e.g., 0x-prefixed for EVM, base58 for Solana).

## Query parameters

- `projectID` string

## Headers

- `X-Wallet-Auth` string, required

## Request body

- EoaVaultDepositRequest
  - [`VaultDepositRequest`](https://skmtc.dev/coinbase/apis/coinbase-developer-platform-apis/revisions/06cb41a4fb57/schema?at=%2Fcomponents%2Fschemas%2FVaultDepositRequest)
  - object: A request to deposit the vault's underlying asset (e.g. USDC) into a vault from an end user's EVM account (EOA). The end user signs an EIP-2612 permit authorizing the deposit, and the token approval and deposit are executed in a single transaction.
    - `maxSlippageBps` integer: The maximum share-price movement tolerated between calldata construction and onchain execution, in basis points. The deposit reverts if the vault's share price moves beyond this bound. A guard of 100 bps (i.e. 1%) is applied when omitted.

## Response `200`

Successfully broadcast the deposit.

- EoaVaultDepositResponse: The result of a vault deposit from an EOA after broadcast.
  - `transactionHash` string, required: The hash of the broadcast deposit transaction, as a 0x-prefixed hex string.

## Other responses

- `400`: Invalid request.
- `401`: Unauthorized.
- `402`: A payment method is required to complete this operation.
- `403`: User forbidden from performing the action.
- `404`: Not found.
- `409`: Conflict. A deposit or another lend operation for this account and vault is already in progress.
- `500`: Internal server error.
- `502`: Bad gateway.
- `503`: Service unavailable.

## Changes

- **2026-12-01** `06cb41a4fb57`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/coinbase/apis/coinbase-developer-platform-apis/changes/v2/embedded-wallet-api/end-users/:userId/evm/:address/lend/deposit/post.md)

---

[API](https://skmtc.dev/coinbase/apis/coinbase-developer-platform-apis.md) - [All operations](https://skmtc.dev/coinbase/apis/coinbase-developer-platform-apis/llms.txt) - [OpenAPI document](https://skmtc.dev/coinbase/apis/coinbase-developer-platform-apis/revisions/06cb41a4fb57?raw)
