v46

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

Earn withdraw failed

Fired when a wallet action fails after at least one transaction was broadcast. There may be onchain state changes; inspect the steps for details.

postWebhookwallet_action.earn_withdraw.failed

Payload

action_type'swap' | 'transfer' | 'earn_deposit' | 'earn_withdraw' | 'earn_incentive_claim' | 'earn_fee_collect' required

Type of wallet action

amountstring

Human-readable decimal amount of asset withdrawn (e.g. "1.5"). Only present when the token is known in the asset registry.

assetstring

Asset identifier (e.g. "usdc", "eth"). Only present when the token is known in the asset registry.

asset_addressstring required

Underlying asset token address.

caip2string required

CAIP-2 chain identifier.

created_atstring required

ISO 8601 timestamp of when the wallet action was created.

decimalsinteger

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.

failed_atstring required

ISO 8601 timestamp of when the wallet action failed.

raw_amountstring required

Base-unit amount of asset withdrawn (e.g. "1500000").

status'failed' required

The status of the wallet action.

type'wallet_action.earn_withdraw.failed' required

The type of webhook event.

vault_addressstring required

ERC-4626 vault contract address.

vault_idstring required

The vault ID.

wallet_action_idstring required

The ID of the wallet action.

wallet_idstring required

The ID of the wallet involved in the action.

Response

Return a 200 status to indicate that the webhook was received successfully.