Withdraw assets from an ERC-4626 yield vault.
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.
ID of the wallet.
Input for withdrawing assets from an ERC-4626 vault. Exactly one of amount or raw_amount must be provided.
The ID of the vault to withdraw from.
Human-readable decimal amount to withdraw (e.g. "1.5" for 1.5 USDC). Exactly one of amount or raw_amount must be provided.
1 - 200^\d+(\.\d+)?$Amount in smallest unit to withdraw (e.g. "1500000" for 1.5 USDC with 6 decimals). Exactly one of amount or raw_amount must be provided.
1 - 78^\d+$Earn withdraw initiated successfully.
Response for an earn withdraw action.
The ID of the wallet action.
The current status of the wallet action.
pending, succeeded, rejected, failed The ID of the wallet involved in the action.
ISO 8601 timestamp of when the wallet action was created.
earn_withdraw CAIP-2 chain identifier.
The vault ID.
ERC-4626 vault contract address.
Underlying asset token address.
Base-unit amount of asset withdrawn (e.g. "1500000").
Vault shares burned in base units. Populated after on-chain confirmation.
Top-level failure context for the wallet action. Present on rejected or failed actions when available.
The steps of the wallet action. Only returned if ?include=steps is provided.
A wallet action step consisting of an EVM transaction.
Asset identifier (e.g. "usdc", "eth"). Only present when the token is known in the asset registry.
Number of decimals for the underlying asset (e.g. 6 for USDC, 18 for ETH). Only present when the token is known in the asset registry.
Human-readable decimal amount of asset withdrawn (e.g. "1.5"). Only present when the token is known in the asset registry.