Skip to main content
WEBHOOK

Body

application/json

Payload for the wallet_action.earn_fee_collect.created webhook event.

type
enum<string>
required

The type of webhook event.

Available options:
wallet_action.earn_fee_collect.created
wallet_action_id
string
required

The ID of the wallet action.

wallet_id
string
required

The ID of the wallet involved in the action.

action_type
enum<string>
required

Type of wallet action

Available options:
swap,
transfer,
earn_deposit,
earn_withdraw,
earn_incentive_claim,
earn_fee_collect
created_at
string
required

ISO 8601 timestamp of when the wallet action was created.

caip2
string
required

CAIP-2 chain identifier.

vault_id
string
required

The vault ID.

vault_address
string
required

ERC-4626 vault contract address.

asset_address
string
required

Underlying asset token address.

raw_amount
string
required

Base-unit amount of fees collected (e.g. "1500000").

status
enum<string>
required

The status of the wallet action.

Available options:
pending
asset
string

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

decimals
integer

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.

amount
string

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

Response

200

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