Skip to main content
Configure output token rules as part of account registration. By default, all deposits are bridged to the single target token set at registration.

Configure token routing

Token routing rules let you select the output token based on what the user deposited. When registering an account, the target object accepts two optional fields: Each rule has: A rule’s match must specify at least one of chain, token, or symbol. You can combine them for more specific matches.

Rule priority

When multiple rules match a deposit, the most specific rule wins. Declaration order only matters when two rules share the same specificity.

Example: USDC and ETH passthrough

Route USDC deposits to USDC.e and ETH deposits to WETH on Optimism, while defaulting other tokens to a fallback:
With this configuration:
  • User deposits USDC (from any chain) → receives USDC.e on Optimism
  • User deposits ETH (from any chain) → receives WETH on Optimism
  • User deposits any other token → receives target.token (default fallback)

Example: chain-specific overrides

Combine chain and symbol for chain-specific routing. The chain-specific rule takes priority because chain + symbol outranks symbol alone.

Example: reject unknown tokens

Only accept specific tokens and reject everything else:
Deposits that don’t match USDC or ETH are ignored (not bridged).