v46

latestOpenAPI 3.1.0raw.githubusercontent.com2026-07-211591,0051.4 MB
Yield

Get Yield Sweep

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

get/v1/ethereum_yield_sweep/{id}

Path parameters

idstring required

The yield sweep ID.

Headers

privy-app-idstring required

ID of your Privy app.

Response

Yield sweep retrieved successfully.

asset_amountstring nullable required

The amount of underlying assets involved. Set after the sweep is confirmed on-chain.

created_atnumber required

Unix timestamp of when the sweep was created, in milliseconds.

idstring required

Unique identifier for the yield sweep.

share_amountstring 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_atnumber required

Unix timestamp of when the sweep was last updated, in milliseconds.

vault_idstring required

The ID of the vault involved in the sweep.

wallet_idstring required

The ID of the wallet involved in the sweep.

Example response

{
  "asset_amount": "1000000",
  "created_at": 1631573050000,
  "id": "cm7oxq1el000e11o8iwp7d0d0",
  "share_amount": "987654321",
  "status": "pending",
  "type": "deposit",
  "updated_at": 1631573050000,
  "vault_id": "cm7oxq1el000e11o8iwp7d0d0",
  "wallet_id": "fmfdj6yqly31huorjqzq38zc"
}