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.
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"
}