Limit Output Tokens

Flexy also let's you limit the output token on the destination chain to a single or subset of output tokens.

If you specify a single output token, the token will automatically be selected. Specifying more than one token addresses will simply filter the list of tokens that a user can select.

Example

export const YourApp = () => {
  return (
    <Flexy
      /* other props */
      limitOutputTokens={["0xToken1", "0xToken2"]} // locks output tokens to specified token addresses
    />
  )
};

Last updated