Skip to main content

Import

Usage

Parameters

Return Type

DepositStatus Values

DepositInfo Object

How It Routes

The deposit hook routes based on what’s available:
  1. Action delegates configured (Tier 2) - Calls onDepositRequired from the provider
  2. Wagmi context detected (Tier 3) - Uses connected wallet directly
  3. Neither - deposit() fetches info only; no on-chain execution

Fetch-Only Mode

Use fetchInfo to get the deposit calldata without executing. Useful for showing a preview or building custom deposit UI: