Skip to content

@swapped/connect-sdk / core / SwappedConnectWalletsConfig

Type Alias: SwappedConnectWalletsConfig ​

SwappedConnectWalletsConfig = object

Defined in: src/config/config.types.ts:11

Wallet module options for createSwappedConnectClient.

Properties ​

balancesCacheTtlMs? ​

optional balancesCacheTtlMs?: number

Defined in: src/config/config.types.ts:16

How long wallet balances stay cached. Default 10 minutes. A manual refresh always loads fresh balances.


networkFeeBufferUsd? ​

optional networkFeeBufferUsd?: number

Defined in: src/config/config.types.ts:21

USD safety margin subtracted from max sendable native amounts when checking network fees (same as the Swapped widget). Default 0.1.