Skip to main content
Not yet released. The packages on this page are not published to npm yet, so the install commands below will not resolve. The documented interface is stable and the code exists; only publication is outstanding. To use KeyStone from a frontend today, call the REST API or the TypeScript SDK, which is published. Contact us if you need early access.

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: