Appearance
@swapped/connect-sdk / core / ConnectWalletRequest
Type Alias: ConnectWalletRequest
ConnectWalletRequest =
object
Defined in: src/types/wallets.types.ts:105
Properties
chainId?
optionalchainId?:ChainId
Defined in: src/types/wallets.types.ts:112
EVM only: chain to request at connect time.
force?
optionalforce?:boolean
Defined in: src/types/wallets.types.ts:125
WalletConnect only. Cancel any in-flight pairing before starting a new one.
forcePopup?
optionalforcePopup?:boolean
Defined in: src/types/wallets.types.ts:127
Always run this injected call in the Swapped popup.
namespaces?
optionalnamespaces?:ChainNamespace[]
Defined in: src/types/wallets.types.ts:110
Defaults to the namespaces the session / host supports.
onUri?
optionalonUri?: (payload) =>void
Defined in: src/types/wallets.types.ts:117
Called when the host emits a WalletConnect pairing URI so the consumer can render a QR (uri) and/or open a mobile deep link (deeplinkUrl).
Parameters
payload
deeplinkUrl
string
provider
uri
string
Returns
void
popupIfUnavailable?
optionalpopupIfUnavailable?:boolean
Defined in: src/types/wallets.types.ts:132
If the iframe probe did not find this extension, open the popup instead of failing in the iframe.
provider
provider:
IntegrationProvider
Defined in: src/types/wallets.types.ts:106
transport?
optionaltransport?:WalletTransport
Defined in: src/types/wallets.types.ts:108
Defaults to injected when the extension is on this page, else walletconnect.