Trade Type: Input Amount
Fund mode uses an input trade type, meaning:- The user selects a input amount and token they would like to use for funding after calling the widget.
- The destination receives the specified amount after swapping / bridging that the integrator specifies.
- Perfect for scenarios where users want to choose a variable amount of funds for a token to deposit.
Use Cases
Fund mode is ideal for:- Chain Funding: Deposit funds to get started on a new chain
- Protocol Deposits: Fund lending protocols, perpetual exchanges, or DeFi apps
- Vault Deposits: Add liquidity to yield farming vaults
- Staking Contracts: Fund staking positions
- Increasing TVL: Increase Total Value Locked by enabling deposits from any chain with any token
Configuration
Fund mode requires the following parameters:toAddress
: The destination address (required)toChainId
: The destination chain ID (required)toToken
: The destination token (required)