Skip to main content
Guide users to add specific tokens to their wallet, combining swap, bridge, and onramp options in one interface. Fund Widget When to use:
  • User needs a specific token for a purchase
  • Pre-transaction funding when balance is insufficient
  • Helping users get the right currency for your game

Installation

Quick Start

Parameters

How It Works

The Fund flow analyzes the user’s current balances and presents the best options:

Events

The method field indicates how tokens were acquired: 'swap', 'bridge', or 'onramp'.

Use Case: Insufficient Balance

A common pattern is triggering the Fund flow when a user tries to make a purchase but lacks sufficient tokens. See the PurchaseWithFunding component in the code snippets above.

Next Steps

Primary Sales

Combine funding with NFT purchases

Swap

Direct token swaps