---
title: "Get Yield Sweep"
method: GET
path: "/v1/ethereum_yield_sweep/{id}"
tags: ["Yield"]
---

# Get Yield Sweep

`GET /v1/ethereum_yield_sweep/{id}`

Retrieve a yield sweep (deposit or withdrawal) by its ID.

## Path parameters

- `id` string, required — The yield sweep ID.

## Headers

- `privy-app-id` string, required — ID of your Privy app.

## Response `200`

Yield sweep retrieved successfully.

- EthereumYieldSweepResponse — A yield sweep record representing a deposit or withdrawal.
  - `asset_amount` string, nullable, required — The amount of underlying assets involved. Set after the sweep is confirmed on-chain.
  - `created_at` number, required — Unix timestamp of when the sweep was created, in milliseconds.
  - `id` string, required — Unique identifier for the yield sweep.
  - `share_amount` string, nullable, required — The amount of vault shares involved. Set after the sweep is confirmed on-chain.
  - `status` 'pending' | 'confirmed' | 'failed', required — Status of a yield sweep.
  - `type` 'deposit' | 'withdraw', required — Type of yield sweep.
  - `updated_at` number, required — Unix timestamp of when the sweep was last updated, in milliseconds.
  - `vault_id` string, required — The ID of the vault involved in the sweep.
  - `wallet_id` string, required — The ID of the wallet involved in the sweep.

---

[API](https://skmtc.net/privy-io/apis/privy-api.md) · [All operations](https://skmtc.net/privy-io/apis/privy-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/privy-io/privy-api/revisions/bb2eb34156cc/schema)
