Yield
Get Yield Sweep
Retrieve a yield sweep (deposit or withdrawal) by its ID.
get/v1/ethereum_yield_sweep/{id}
Request
- Base URLhttps://api.privy.io
- URLhttps://api.privy.io/v1/ethereum_yield_sweep/{id}
- AuthHTTP basic
Path parameters
idstring required
The yield sweep ID.
Headers
privy-app-idstring required
ID of your Privy app.
Response
Yield sweep retrieved successfully.
Example response
{
"id": "cm7oxq1el000e11o8iwp7d0d0",
"wallet_id": "fmfdj6yqly31huorjqzq38zc",
"vault_id": "cm7oxq1el000e11o8iwp7d0d0",
"type": "deposit",
"status": "pending",
"asset_amount": "1000000",
"share_amount": "987654321",
"created_at": 1631573050000,
"updated_at": 1631573050000
}Changes
No recorded changes to this operation across all 60 revisions of this API.