Skip to content

@swapped/connect-sdk / core / SwappedRemoteConfigFeatures

Type Alias: SwappedRemoteConfigFeatures

SwappedRemoteConfigFeatures = object

Defined in: src/config/remote-config.types.ts:13

Capability flags for transfer planning. Applied globally through SwappedRemoteConfig.features, then optionally overridden by networks.evm and networks.<network> (most specific wins).

Omitted or non-boolean values fall back to the baked-in default (true).

Properties

bridge

bridge: boolean

Defined in: src/config/remote-config.types.ts:24

Whether bridge transfers may be planned as a fallback when a same-network swap is unavailable. Default true.


gasless

gasless: boolean

Defined in: src/config/remote-config.types.ts:29

Whether gasless (sponsored) transfers may be offered on networks that support them. Default true.


permit2

permit2: boolean

Defined in: src/config/remote-config.types.ts:34

Whether Permit2 signatures may be used for EVM approvals. Execution lives in the gateway widget; the SDK forwards this flag. Default true.


swap

swap: boolean

Defined in: src/config/remote-config.types.ts:19

Whether swap transfers may be planned. When false, transfer resolution skips the swap branch and falls through to bridge. Default true.