Deposit assets from a wallet into an ERC-4626 vault. This endpoint generates and broadcasts the necessary approval and deposit transactions.
Basic Auth header with your app ID as the username and your app secret as the password.
ID of your Privy app.
Request authorization signature. If multiple signatures are required, they should be comma separated.
Request expiry. Value is a Unix timestamp in milliseconds representing the deadline by which the request must be processed.
Idempotency keys ensure API requests are executed only once within a 24-hour window.
ID of the wallet.
Input for depositing assets into an ERC-4626 vault.
Yield sweep created successfully.
A yield sweep record representing a deposit or withdrawal.
Unique identifier for the yield sweep.
The ID of the wallet involved in the sweep.
The ID of the vault involved in the sweep.
Type of yield sweep.
deposit, withdraw Status of a yield sweep.
pending, confirmed, failed The amount of underlying assets involved. Set after the sweep is confirmed on-chain.
The amount of vault shares involved. Set after the sweep is confirmed on-chain.
Unix timestamp of when the sweep was created, in milliseconds.
Unix timestamp of when the sweep was last updated, in milliseconds.