Skip to main content

Import

Usage

Parameters

None. Must be used inside a <KeystoneProvider>.

Return Type

When to Use

Most integrations should use the higher-level hooks (useSettlement, useDeposit, etc.). Use useKeystone when you need:
  • Direct API calls not covered by existing hooks
  • Custom event subscriptions on the event bus
  • Access to the token manager for auth headers
  • Building your own hooks on top of the core primitives

Example: Custom API Call

Example: Custom Event Subscription