Skip to content

Widget: enable Portals #12580

Description

@linear

Context

Portals is enabled in the public API and returns rates, but the widget discards them. SwapperName.Portals is commented out of the widget's own enum (packages/swap-widget/src/types/index.ts:42-57), and useSwapRates.ts:58-62 filters every API response through new Set(Object.values(SwapperName)).

No capability gap: Portals emits evm tx data, already handled by useSwapExecution. This is a staging decision from 4c28f7fbbc (#12317), not a technical block.

Work

  • Uncomment Portals = 'Portals' in the widget's SwapperName enum
  • Verify execution end to end on an EVM route
  • Confirm approval handling works — Portals routes are ERC20-heavy, so this exercises the approval path harder than the currently-enabled swappers

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status
    Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions